changeset 1055 | 3aae1d6f12aa |
parent 1024 | 9b06b01490a4 |
child 1108 | 6c05bdeb9d41 |
--- a/ship_gui.c Mon Jan 17 22:44:33 2005 +0000 +++ b/ship_gui.c Tue Jan 18 09:35:31 2005 +0000 @@ -982,7 +982,7 @@ 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;