diff src/console_cmds.cpp @ 6231:a4e11dd2d7c6 draft

(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.....)
author truelight <truelight@openttd.org>
date Tue, 06 Mar 2007 20:59:52 +0000
parents 595dc16a6fd8
children 161135615aa1
line wrap: on
line diff
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -499,7 +499,7 @@
 		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 @@
 		return true;
 	}
 
-	if (_pause != 0) {
+	if (_pause_game != 0) {
 		DoCommandP(0, 0, 0, NULL, CMD_PAUSE);
 		IConsolePrint(_icolour_def, "Game unpaused.");
 	} else {