mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan)
This commit is contained in:
parent
37e3cbb980
commit
872ba4e659
@ -3410,6 +3410,9 @@ void OnNewDay_Train(Vehicle *v)
|
|||||||
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
|
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
|
||||||
InvalidateWindowClasses(WC_TRAINS_LIST);
|
InvalidateWindowClasses(WC_TRAINS_LIST);
|
||||||
}
|
}
|
||||||
|
} else if (IsTrainEngine(v)) {
|
||||||
|
/* Also age engines that aren't front engines */
|
||||||
|
AgeVehicle(v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user