Codechange: Use enum class for command-related enums. (#14775)
This commit is contained in:
@@ -90,7 +90,7 @@ void RemoveTextEffect(TextEffectID te_id)
|
||||
|
||||
/** Slowly move text effects upwards. */
|
||||
const IntervalTimer<TimerWindow> move_all_text_effects_interval = {std::chrono::milliseconds(30), [](uint count) {
|
||||
if (_pause_mode.Any() && _game_mode != GM_EDITOR && _settings_game.construction.command_pause_level <= CMDPL_NO_CONSTRUCTION) return;
|
||||
if (_pause_mode.Any() && _game_mode != GM_EDITOR && _settings_game.construction.command_pause_level <= CommandPauseLevel::NoConstruction) return;
|
||||
|
||||
for (TextEffect &te : _text_effects) {
|
||||
if (!te.IsValid()) continue;
|
||||
|
||||
Reference in New Issue
Block a user