(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 0c23b0b3a4
commit 5dbd80ff3c
3 changed files with 3 additions and 3 deletions

View File

@@ -370,7 +370,7 @@ bool IsCommandAllowedWhilePaused(uint32 cmd)
assert_compile(lengthof(command_type_lookup) == CMDT_END);
assert(IsValidCommand(cmd));
return command_type_lookup[_command_proc_table[cmd & CMD_ID_MASK].type] <= _settings_game.construction.command_pause_level;
return _game_mode == GM_EDITOR || command_type_lookup[_command_proc_table[cmd & CMD_ID_MASK].type] <= _settings_game.construction.command_pause_level;
}