1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00

Fix causing asserts with DEBUG_DESYNC and loading new maps. (#5650)

Moved input handling out of game_logic_update back to game_update,
should be executed per frame not tick.
Placed gInUpdateCode at the proper locations.
This commit is contained in:
ZehM4tt
2017-06-19 17:41:28 +02:00
committed by Michał Janiszewski
parent 7c4ee751cc
commit 10740106f2
6 changed files with 46 additions and 48 deletions

View File

@@ -388,7 +388,6 @@ uint8 Network::GetPlayerID()
void Network::Update()
{
_closeLock = true;
assert(gInUpdateCode == false);
switch (GetMode()) {
case NETWORK_MODE_SERVER: