(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user