diff options
author | truelight <truelight@openttd.org> | 2007-03-06 20:59:52 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-06 20:59:52 +0000 |
commit | 43133c766c850ac4be15c9d357183d21aa765cc0 (patch) | |
tree | 589dd69d82d0ad95f4e1c72216940e55d6208cf8 /src/console_cmds.cpp | |
parent | 5bb9aed844e4c37f9c7bcb01772c409289c2ef86 (diff) | |
download | openttd-43133c766c850ac4be15c9d357183d21aa765cc0.tar.xz |
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 5edde43be..4d3ac74fa 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -499,7 +499,7 @@ DEF_CONSOLE_CMD(ConPauseGame) return true; } - if (_pause == 0) { + if (_pause_game == 0) { DoCommandP(0, 1, 0, NULL, CMD_PAUSE); IConsolePrint(_icolour_def, "Game paused."); } else { @@ -516,7 +516,7 @@ DEF_CONSOLE_CMD(ConUnPauseGame) return true; } - if (_pause != 0) { + if (_pause_game != 0) { DoCommandP(0, 0, 0, NULL, CMD_PAUSE); IConsolePrint(_icolour_def, "Game unpaused."); } else { |