mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 18:09:09 +00:00
(svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead
This commit is contained in:
@@ -326,7 +326,7 @@ void AfterLoadVehicles(bool part_of_load)
|
||||
rv->subtype = 0;
|
||||
rv->SetArticulatedPart();
|
||||
} else {
|
||||
NOT_REACHED();
|
||||
SlErrorCorrupt("Invalid road vehicle subtype");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user