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 | b3b14ac2ad46bf0d5455b54b5828f67676cae8d3 (patch) | |
tree | 589dd69d82d0ad95f4e1c72216940e55d6208cf8 /src/console_cmds.cpp | |
parent | 62c107558f4215cd6018e44a2c228a8bbc4174b3 (diff) | |
download | openttd-b3b14ac2ad46bf0d5455b54b5828f67676cae8d3.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 { |