forked from mirror/OpenTTD
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user