(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'

This commit is contained in:
darkvater
2005-01-24 21:33:44 +00:00
parent 6151c1044a
commit e05f961eed
3 changed files with 29 additions and 3 deletions

View File

@@ -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);
}