(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.....)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user