changeset 7980 | 9b12784cc39c |
parent 7974 | 6fcdebd75c19 |
child 7982 | 539e32cc37ce |
--- a/src/train_gui.cpp Tue Aug 28 01:09:41 2007 +0000 +++ b/src/train_gui.cpp Tue Aug 28 06:46:33 2007 +0000 @@ -421,7 +421,7 @@ SetDParam(3, GetTrainRunningCost(v) >> 8); DrawString(x, 15, STR_885D_AGE_RUNNING_COST_YR, 0); - SetDParam(2, v->u.rail.cached_max_speed * 10 / 16); + SetDParam(2, v->GetDisplayMaxSpeed()); SetDParam(1, v->u.rail.cached_power); SetDParam(0, v->u.rail.cached_weight); SetDParam(3, v->u.rail.cached_max_te / 1000);