(svn r12033) -Fix: do not show train speed as zero after loading paused game

pull/155/head
smatz 17 years ago
parent 7457d8807a
commit cc59c5bd23

@ -251,6 +251,7 @@ void AfterLoadVehicles(bool clear_te_id)
assert(v->first != NULL);
if (v->type == VEH_TRAIN && (IsFrontEngine(v) || IsFreeWagon(v))) {
if (IsFrontEngine(v)) v->u.rail.last_speed = v->cur_speed; // update displayed train speed
TrainConsistChanged(v);
} else if (v->type == VEH_ROAD && IsRoadVehFront(v)) {
RoadVehUpdateCache(v);

Loading…
Cancel
Save