(svn r1556) -Fix: Vehicle list updates should now really work
This commit is contained in:
@@ -982,7 +982,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e)
|
||||
DrawVehicleProfitButton(v, x, y + 13);
|
||||
|
||||
SetDParam(0, v->unitnumber);
|
||||
if (IsShipDepotTile(v->tile))
|
||||
if (IsShipDepotTile(v->tile) && (v->vehstatus & VS_HIDDEN))
|
||||
str = STR_021F;
|
||||
else
|
||||
str = v->age > v->max_age - 366 ? STR_00E3 : STR_00E2;
|
||||
|
Reference in New Issue
Block a user