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

pull/155/head
matthijs 20 years ago
parent d088cb6131
commit a3d687fadb

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