summaryrefslogtreecommitdiff
path: root/src/saveload/vehicle_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/vehicle_sl.cpp')
-rw-r--r--src/saveload/vehicle_sl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index 3ee6ce99c..ad8ef0831 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -376,7 +376,7 @@ void AfterLoadVehicles(bool part_of_load)
Train *t = Train::From(v);
if (t->IsFrontEngine() || t->IsFreeWagon()) {
t->gcache.last_speed = t->cur_speed; // update displayed train speed
- t->ConsistChanged(false);
+ t->ConsistChanged(CCF_SAVELOAD);
}
break;
}
@@ -547,7 +547,7 @@ void FixupTrainLengths()
}
/* Update all cached properties after moving the vehicle chain around. */
- Train::From(v)->ConsistChanged(true);
+ Train::From(v)->ConsistChanged(CCF_TRACK);
}
}
}