diff options
author | darkvater <darkvater@openttd.org> | 2004-09-12 15:29:37 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-12 15:29:37 +0000 |
commit | 99687cf513905a04ae18dfbcbe6fd13c6cbe9694 (patch) | |
tree | 6a2158dce07948cb902981f67daff0a278fe73f2 /ttd.c | |
parent | f64c1bda4ba0d4723974117e27452a68611d5db4 (diff) | |
download | openttd-99687cf513905a04ae18dfbcbe6fd13c6cbe9694.tar.xz |
(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
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(); } |