diff options
author | darkvater <darkvater@openttd.org> | 2005-01-24 21:33:44 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-24 21:33:44 +0000 |
commit | e05f961eed4e8165a5089e5e7bf957fdde82c17e (patch) | |
tree | 072693334d01c3db01a4ab15ab7ec9a69ece0bcf /main_gui.c | |
parent | 6151c1044ad4355570c44c3d6d1a49aaf47c755d (diff) | |
download | openttd-e05f961eed4e8165a5089e5e7bf957fdde82c17e.tar.xz |
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index e4baf33a1..bd81a5269 100644 --- a/main_gui.c +++ b/main_gui.c @@ -159,7 +159,7 @@ static void ToolbarPauseClick(Window *w) { if (_networking && !_network_server) { return;} // only server can pause the game - if (DoCommandP(0, _pause?0:1, 0, NULL, CMD_PAUSE)) + if (DoCommandP(0, _pause ? 0 : 1, 0, NULL, CMD_PAUSE)) SndPlayFx(SND_15_BEEP); } |