diff src/graph_gui.cpp @ 11852:862dd1024fe7 draft

(svn r16242) -Codechange: rework pausing -Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
author rubidium <rubidium@openttd.org>
date Wed, 06 May 2009 15:06:57 +0000
parents 534c3c3167f2
children 0a4b63f3f3c3
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1182,7 +1182,7 @@
 
 	virtual void OnTick()
 	{
-		if (_pause_game != 0) return;
+		if (_pause_mode != PM_UNPAUSED) return;
 
 		/* Update the company score every 5 days */
 		if (--this->timeout == 0) {