diff options
author | matthijs <matthijs@openttd.org> | 2005-01-04 00:54:12 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2005-01-04 00:54:12 +0000 |
commit | a9b3d8c998c524bb4fad27d6e14b64d391301c1f (patch) | |
tree | ffc6d6d67efa026a85fc1b50e6dd346042b4995c | |
parent | cdfb3d5113b732baedee91d7345f4e434332efb5 (diff) | |
download | openttd-a9b3d8c998c524bb4fad27d6e14b64d391301c1f.tar.xz |
(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid)
-rw-r--r-- | train_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/train_cmd.c b/train_cmd.c index 4700ab4d4..45f34285a 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -1718,6 +1718,7 @@ static void HandleTrainLoading(Vehicle *v, bool mode) return; if (v->current_order.flags & OF_FULL_LOAD && CanFillVehicle(v)) { + v->u.rail.days_since_order_progr = 0; /* Prevent a train lost message for full loading trains */ SET_EXPENSES_TYPE(EXPENSES_TRAIN_INC); if (LoadUnloadVehicle(v)) { InvalidateWindow(WC_TRAINS_LIST, v->owner); |