diff src/station_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 fa3b41302eda
children 0a4b63f3f3c3
line wrap: on
line diff
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -549,7 +549,7 @@
 
 	virtual void OnTick()
 	{
-		if (_pause_game != 0) return;
+		if (_pause_mode != PM_UNPAUSED) return;
 		if (this->stations.NeedResort()) {
 			DEBUG(misc, 3, "Periodic rebuild station list company %d", this->window_number);
 			this->SetDirty();