(svn r214) -Feature: CMD_NET_INSTANT [just in time command handling over network] (sign_de)
-Fix: Only server can pause in network, action disabled for clients -Fix: Direct Connect editbox can handle up to max ~35 characters
This commit is contained in:
6
ttd.c
6
ttd.c
@@ -878,6 +878,9 @@ normal_load:
|
||||
// That check is enforced in DoCommand.
|
||||
void StateGameLoop()
|
||||
{
|
||||
// dont execute the state loop during pause
|
||||
if (_pause) return;
|
||||
|
||||
_in_state_game_loop = true;
|
||||
_frame_counter++;
|
||||
|
||||
@@ -1021,8 +1024,7 @@ void GameLoop()
|
||||
}
|
||||
} else {
|
||||
// server/client/standalone: not synced --> state game loop
|
||||
if (!_pause)
|
||||
StateGameLoop();
|
||||
StateGameLoop();
|
||||
// server/client: process queued network commands
|
||||
if (_networking) NetworkProcessCommands();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user