diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 2 | ||||
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index f7989849f..0a4c44a45 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -1042,7 +1042,7 @@ bool AfterLoadGame() } FOR_ALL_TRAINS(v) { - if (v->IsFrontEngine() || v->IsFreeWagon()) TrainConsistChanged(v, true); + if (v->IsFrontEngine() || v->IsFreeWagon()) v->ConsistChanged(true); } } diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 7fdb78e61..c4780fe80 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -318,7 +318,7 @@ void AfterLoadVehicles(bool part_of_load) Train *t = Train::From(v); if (t->IsFrontEngine() || t->IsFreeWagon()) { t->tcache.last_speed = t->cur_speed; // update displayed train speed - TrainConsistChanged(t, false); + t->ConsistChanged(false); } } else if (v->type == VEH_ROAD) { RoadVehicle *rv = RoadVehicle::From(v); |