Changeset - r17366:fa2c9230807e
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2011-02-20 20:58:32
rubidium@openttd.org
(svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -326,7 +326,7 @@ void AfterLoadVehicles(bool part_of_load
 
					rv->subtype = 0;
 
					rv->SetArticulatedPart();
 
				} else {
 
					NOT_REACHED();
 
					SlErrorCorrupt("Invalid road vehicle subtype");
 
				}
 
			}
 
		}
0 comments (0 inline, 0 general)