(svn r20005) -Codechange: Enumify force_proceed.

This commit is contained in:
frosch
2010-06-21 17:35:27 +00:00
parent eb763bf537
commit 6f800a8407
5 changed files with 27 additions and 17 deletions

View File

@@ -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;
}
}
}