summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-24 21:33:44 +0000
committerdarkvater <darkvater@openttd.org>2005-01-24 21:33:44 +0000
commit9d492b5051e6a851f00d80bfd6029fd54afe9db5 (patch)
tree072693334d01c3db01a4ab15ab7ec9a69ece0bcf /main_gui.c
parent29a7e054e13da1d92a76144a0d0a79c7adeac5ba (diff)
downloadopenttd-9d492b5051e6a851f00d80bfd6029fd54afe9db5.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.c2
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);
}