remove unneeded check in mp_controller::sync_network()
PROCESS_END_LINGER is never returned outside of linger mode
This commit is contained in:
parent
0b472e8fae
commit
ad40e41e9a
1 changed files with 1 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue