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
commit5bcf3d2bc0620a40728ebb2c0dcbe34fcd6f5084 (patch)
tree467646e7683ed0d5f231399fd0dcc03e2443fb57 /aircraft_gui.c
parent4559279686fd95be1d78ba3933efb76ffd476458 (diff)
downloadopenttd-5bcf3d2bc0620a40728ebb2c0dcbe34fcd6f5084.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;