mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r1367) -Fix: Full-Loading trains no longer get "lost" after a while (Hackykid)
This commit is contained in:
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…
Reference in New Issue