From 5e68953907d4859cdefa6dd521a1996a86ae4c49 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 6 Jan 2006 22:49:00 +0000 Subject: (svn r3378) - NewGRF Fix: Use order status to determine whether a vehicle is loading instead of speed, and get that state from first vehicle in a train consist. --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_cmd.c') diff --git a/train_cmd.c b/train_cmd.c index 8e076e935..7ae6b10ff 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -2563,10 +2563,10 @@ static void TrainEnterStation(Vehicle *v, StationID station) SET_EXPENSES_TYPE(EXPENSES_TRAIN_INC); if (LoadUnloadVehicle(v) != 0) { InvalidateWindow(WC_TRAINS_LIST, v->owner); - MarkTrainDirty(v); TrainCargoChanged(v); UpdateTrainAcceleration(v); } + MarkTrainDirty(v); InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); } -- cgit v1.2.3-54-g00ecf