Changeset - r10916:60d6d3a8df82
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2009-01-24 12:50:10
smatz@openttd.org
(svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -284,7 +284,7 @@ void AfterLoadVehicles(bool part_of_load
 
			}
 
			/* trains weren't stopping gradually in old OTTD versions (and TTO/TTD)
 
			 * other vehicle types didn't have zero speed while stopped (even in 'recent' OTTD versions) */
 
			if ((v->vehstatus & VS_STOPPED) && (v->type != VEH_TRAIN || CheckSavegameVersion(1))) {
 
			if ((v->vehstatus & VS_STOPPED) && (v->type != VEH_TRAIN || CheckSavegameVersionOldStyle(2, 1))) {
 
				v->cur_speed = 0;
 
			}
 
		}
0 comments (0 inline, 0 general)