diff options
author | rubidium <rubidium@openttd.org> | 2009-05-06 15:06:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-06 15:06:57 +0000 |
commit | 2664f2a2d95dbc2122ff1f9b96e8569ae401892f (patch) | |
tree | fb2112ce7a51edd259190186790bf00319a53510 /src/industry_gui.cpp | |
parent | bb121a1510fbd3faea71b794b1f6bdaba1641665 (diff) | |
download | openttd-2664f2a2d95dbc2122ff1f9b96e8569ae401892f.tar.xz |
(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
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 2ec8a1636..194770d76 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -395,7 +395,7 @@ public: virtual void OnTick() { - if (_pause_game != 0) return; + if (_pause_mode != PM_UNPAUSED) return; if (!this->timer_enabled) return; if (--this->callback_timer == 0) { /* We have just passed another day. |