summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-06 20:59:52 +0000
committertruelight <truelight@openttd.org>2007-03-06 20:59:52 +0000
commitb3b14ac2ad46bf0d5455b54b5828f67676cae8d3 (patch)
tree589dd69d82d0ad95f4e1c72216940e55d6208cf8 /src/console_cmds.cpp
parent62c107558f4215cd6018e44a2c228a8bbc4174b3 (diff)
downloadopenttd-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.cpp4
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 {