Changeset - r17824:337189289a6a
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-07-02 21:20:37
frosch@openttd.org
(svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -336,7 +336,7 @@ void AfterLoadVehicles(bool part_of_load
 
		if (IsSavegameVersionBefore(160)) {
 
			/* In some old savegames there might be some "crap" stored. */
 
			FOR_ALL_VEHICLES(v) {
 
				if (!v->IsPrimaryVehicle()) {
 
				if (!v->IsPrimaryVehicle() && v->type != VEH_DISASTER) {
 
					v->current_order.Free();
 
					v->unitnumber = 0;
 
				}
0 comments (0 inline, 0 general)