From 9d492b5051e6a851f00d80bfd6029fd54afe9db5 Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 24 Jan 2005 21:33:44 +0000 Subject: (svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause' --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') 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); } -- cgit v1.2.3-54-g00ecf