diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index 68eb22564..f5c3bb144 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -189,6 +189,10 @@ void FixOldVehicles() RoadVehicle *rv = RoadVehicle::From(v); if (rv->state != RVSB_IN_DEPOT && rv->state != RVSB_WORMHOLE) { ClrBit(rv->state, 2); + if (IsTileType(rv->tile, MP_STATION) && _m[rv->tile].m5 >= 168) { + /* Update the vehicle's road state to show we're in a drive through road stop. */ + SetBit(rv->state, RVS_IN_DT_ROAD_STOP); + } } } |