mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(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)
This commit is contained in:
parent
60dc54b234
commit
12bcc254c8
@ -284,7 +284,7 @@ void AfterLoadVehicles(bool part_of_load)
|
|||||||
}
|
}
|
||||||
/* trains weren't stopping gradually in old OTTD versions (and TTO/TTD)
|
/* 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) */
|
* 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;
|
v->cur_speed = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user