mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-21 11:22:45 +01:00
Codechange: Use EnumBitSet for PauseMode. (#13553)
This commit is contained in:
@@ -90,7 +90,7 @@ void CheckTrainsLengths()
|
||||
|
||||
if (!_networking && first) {
|
||||
first = false;
|
||||
Command<CMD_PAUSE>::Post(PM_PAUSED_ERROR, true);
|
||||
Command<CMD_PAUSE>::Post(PauseMode::Error, true);
|
||||
}
|
||||
/* Break so we warn only once for each train. */
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user