(svn r10324) -Codechange: reference engine names by index
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user