Fix max speed in road vehicle purchase window when using original acceleration model

This commit is contained in:
Jonathan G Rennison
2019-05-14 18:04:52 +01:00
parent 6fabfc3f21
commit f5f72611c2

View File

@@ -686,7 +686,7 @@ static int DrawRoadVehPurchaseInfo(int left, int right, int y, EngineID engine_n
DrawString(left, right, y, STR_PURCHASE_INFO_COST_REFIT_SPEED);
} else {
SetDParam(0, e->GetCost());
SetDParam(2, e->GetDisplayMaxSpeed());
SetDParam(1, e->GetDisplayMaxSpeed());
DrawString(left, right, y, STR_PURCHASE_INFO_COST_SPEED);
}
y += FONT_HEIGHT_NORMAL;