(svn r20005) -Codechange: Enumify force_proceed.
This commit is contained in:
@@ -2012,7 +2012,9 @@ bool AfterLoadGame()
|
||||
if (CheckSavegameVersion(131)) {
|
||||
Train *t;
|
||||
FOR_ALL_TRAINS(t) {
|
||||
t->force_proceed = min<byte>(t->force_proceed, 1);
|
||||
if (t->force_proceed != TFP_NONE) {
|
||||
t->force_proceed = TFP_STUCK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user