diff options
author | peter1138 <peter1138@openttd.org> | 2008-03-04 21:49:40 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-03-04 21:49:40 +0000 |
commit | bc8ad5c743ae08890476b28670fb3e207cfa1979 (patch) | |
tree | 4ffeadfe803d0a6aa61def89755b3a322e3c1850 | |
parent | 266dd80f6c97055ff122d672ea24a341c7b37dad (diff) | |
download | openttd-bc8ad5c743ae08890476b28670fb3e207cfa1979.tar.xz |
(svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot.
-rw-r--r-- | src/vehicle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 9eefcb72c..a7185f076 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2201,6 +2201,7 @@ void VehicleEnterDepot(Vehicle *v) v->load_unload_time_rem = 0; /* Reset reversed flag */ for (Vehicle *u = v; u != NULL; u = u->Next()) ClrBit(u->u.rail.flags, VRF_TOGGLE_REVERSE); + TrainConsistChanged(v); break; case VEH_ROAD: |