aircraft_gui.c
changeset 1055 3aae1d6f12aa
parent 1035 0a170deb6e33
child 1209 a1ac96655b79
--- a/aircraft_gui.c	Mon Jan 17 22:44:33 2005 +0000
+++ b/aircraft_gui.c	Tue Jan 18 09:35:31 2005 +0000
@@ -1034,7 +1034,7 @@
 			DrawVehicleProfitButton(v, x, y + 13);
 
 			SetDParam(0, v->unitnumber);
-			if (IsAircraftHangarTile(v->tile))
+			if (IsAircraftHangarTile(v->tile) && (v->vehstatus & VS_HIDDEN))
 				str = STR_021F;
 			else
 				str = v->age > v->max_age - 366 ? STR_00E3 : STR_00E2;