mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 21:28:28 +00:00
removed invalid comment.
when i wrote that code, i forgot that the user can press continue in the assertion error dialog.
This commit is contained in:
parent
a4ca7c164f
commit
6845d5d9fe
@ -460,10 +460,9 @@ config& replay::get_last_real_command()
|
|||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
ERR_REPLAY << "replay::get_last_real_command called with not existant command.\n";
|
ERR_REPLAY << "replay::get_last_real_command called with no existent command.\n";
|
||||||
assert(false && "replay::get_last_real_command called with not existant command.");
|
assert(false && "replay::get_last_real_command called with no existent command.");
|
||||||
//this code can never be reached because of the assert above so no need to return something.
|
throw "replay::get_last_real_command called with no existent command.";
|
||||||
throw "assert didnt work :o";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user