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 | a61cbab37b162a2da01567b2c5d074b5673eaf6c (patch) | |
tree | 4ffeadfe803d0a6aa61def89755b3a322e3c1850 | |
parent | 6edc8ce369267646efe72eb02824641d73705c6a (diff) | |
download | openttd-a61cbab37b162a2da01567b2c5d074b5673eaf6c.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: |