From a61cbab37b162a2da01567b2c5d074b5673eaf6c Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 4 Mar 2008 21:49:40 +0000 Subject: (svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot. --- src/vehicle.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3-70-g09d2