summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-07 21:13:00 +0000
committerrubidium <rubidium@openttd.org>2010-12-07 21:13:00 +0000
commit5dbd80ff3cfe9dc161a1d4e1c2cf940e67330a4d (patch)
treeea89e5d5dae2b4fc9934738a77bdf9ba2093f82a /src/openttd.cpp
parent0c23b0b3a400457754b2429e56c3e9a9dbaad1a4 (diff)
downloadopenttd-5dbd80ff3cfe9dc161a1d4e1c2cf940e67330a4d.tar.xz
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 335533770..1e6df5f60 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1365,7 +1365,7 @@ void GameLoop()
if (!_pause_mode && HasBit(_display_opt, DO_FULL_ANIMATION)) DoPaletteAnimations();
- if (!_pause_mode || _settings_game.construction.command_pause_level > CMDPL_NO_CONSTRUCTION) MoveAllTextEffects();
+ if (!_pause_mode || _game_mode == GM_EDITOR || _settings_game.construction.command_pause_level > CMDPL_NO_CONSTRUCTION) MoveAllTextEffects();
InputLoop();