(svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage

This commit is contained in:
rubidium
2009-11-17 15:26:46 +00:00
parent e297f79b7f
commit ddffeb791e
4 changed files with 5 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ void DrawRoadVehDetails(const Vehicle *v, int left, int right, int y)
SetDParam(0, v->engine_type);
SetDParam(1, v->build_year);
SetDParam(2, v->value);
DrawString(left, right, y + y_offset, STR_VEHICLE_INFO_BUILT_VALUE);
DrawString(left, right, y + y_offset, STR_VEHICLE_INFO_BUILT_VALUE, TC_FROMSTRING, SA_LEFT | SA_STRIP);
if (rv->HasArticulatedPart()) {
CargoArray max_cargo;