comparison 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
comparison
equal deleted inserted replaced
11851:78901cd3230f 11852:862dd1024fe7
1180 } 1180 }
1181 } 1181 }
1182 1182
1183 virtual void OnTick() 1183 virtual void OnTick()
1184 { 1184 {
1185 if (_pause_game != 0) return; 1185 if (_pause_mode != PM_UNPAUSED) return;
1186 1186
1187 /* Update the company score every 5 days */ 1187 /* Update the company score every 5 days */
1188 if (--this->timeout == 0) { 1188 if (--this->timeout == 0) {
1189 this->UpdateCompanyStats(); 1189 this->UpdateCompanyStats();
1190 this->SetDirty(); 1190 this->SetDirty();