(svn r10324) -Codechange: reference engine names by index

This commit is contained in:
peter1138
2007-06-25 14:46:32 +00:00
parent eb6594caa8
commit d69589b3c2
11 changed files with 37 additions and 20 deletions

View File

@@ -117,7 +117,7 @@ static void RoadVehDetailsWndProc(Window *w, WindowEvent *e)
DrawRoadVehImage(v, 3, 57, 0, INVALID_VEHICLE);
SetDParam(0, GetCustomEngineName(v->engine_type));
SetDParam(0, v->engine_type);
SetDParam(1, v->build_year);
SetDParam(2, v->value);
DrawString(34, 57 + y_offset, STR_9011_BUILT_VALUE, 0);