(svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 14 years ago
parent d594a219c6
commit 0eaa2ffa63

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

Loading…
Cancel
Save