(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor

This commit is contained in:
rubidium
2010-12-07 21:13:00 +00:00
parent b469b1dc51
commit 97623b6fc1
3 changed files with 3 additions and 3 deletions

View File

@@ -2213,7 +2213,7 @@ static void MouseLoop(MouseClick click, int mousewheel)
case MC_DOUBLE_LEFT:
case MC_LEFT:
DEBUG(misc, 2, "Cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
if (_thd.place_mode != HT_NONE && _pause_mode != PM_UNPAUSED) {
if (_thd.place_mode != HT_NONE && _pause_mode != PM_UNPAUSED && _game_mode != GM_EDITOR) {
switch (_settings_game.construction.command_pause_level) {
case CMDPL_ALL_ACTIONS:
/* We allow all actions. */