1
0
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:
rubidium
2011-02-20 20:58:32 +00:00
parent d594a219c6
commit 0eaa2ffa63

View File

@@ -326,7 +326,7 @@ void AfterLoadVehicles(bool part_of_load)
rv->subtype = 0;
rv->SetArticulatedPart();
} else {
NOT_REACHED();
SlErrorCorrupt("Invalid road vehicle subtype");
}
}
}