summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authorCelestar <Celestar@openttd.org>2005-01-18 09:35:31 +0000
committerCelestar <Celestar@openttd.org>2005-01-18 09:35:31 +0000
commita003bb0b0e7eab9dbba683c1ef2b2170e0b9985c (patch)
tree467646e7683ed0d5f231399fd0dcc03e2443fb57 /aircraft_gui.c
parent05d0c2ce89ae0172a3f3604d9a53a1a21972c581 (diff)
downloadopenttd-a003bb0b0e7eab9dbba683c1ef2b2170e0b9985c.tar.xz
(svn r1556) -Fix: Vehicle list updates should now really work
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index a08957477..c06485e25 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -1034,7 +1034,7 @@ static void PlayerAircraftWndProc(Window *w, WindowEvent *e)
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;