remove unneeded check in mp_controller::sync_network()

PROCESS_END_LINGER is never returned outside of linger mode
This commit is contained in:
gfgtdf 2024-03-01 03:56:21 +01:00
parent 0b472e8fae
commit ad40e41e9a

View file

@ -351,13 +351,7 @@ void playmp_controller::surrender(int side_number)
void playmp_controller::receive_actions()
{
turn_info::PROCESS_DATA_RESULT res = sync_network();
assert(res != turn_info::PROCESS_END_TURN);
if(res == turn_info::PROCESS_END_LINGER) {
// Probably some bad OOS, but there is currently no way to recover from this.
throw ingame_wesnothd_error("");
}
sync_network();
}