(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

@@ -82,8 +82,8 @@ static void ShipDetailsWndProc(Window *w, WindowEvent *e)
DrawShipImage(v, 3, 57, INVALID_VEHICLE);
SetDParam(0, v->engine_type);
SetDParam(1, v->build_year);
SetDParam(0, GetCustomEngineName(v->engine_type));
SetDParam(2, v->value);
DrawString(74, 57, STR_9816_BUILT_VALUE, 0);