(svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
This commit is contained in:
@@ -86,7 +86,7 @@ static void AircraftDetailsWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
/* Draw max speed */
|
||||
{
|
||||
SetDParam(0, v->max_speed * 10 / 16);
|
||||
SetDParam(0, v->GetDisplayMaxSpeed());
|
||||
DrawString(2, 25, STR_A00E_MAX_SPEED, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user