Mercurial > hg > openttd
diff src/command.cpp @ 16698:857a686bb953 draft
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 07 Dec 2010 21:13:00 +0000 |
parents | 5e2e046a1886 |
children | c62cecf4dade |
line wrap: on
line diff
--- a/src/command.cpp +++ b/src/command.cpp @@ -370,7 +370,7 @@ 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; }