(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
matthijs 20 years ago
parent cdfb3d5113
commit a9b3d8c998

@ -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);

Loading…
Cancel
Save