summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-29 10:26:22 +0000
committerrubidium <rubidium@openttd.org>2008-04-29 10:26:22 +0000
commit9f3351fed4bf582db6c6fec74199b4e7cd9d8820 (patch)
treeed88abde6717cceedc2564d98b24ccf9968ddb8e
parent5ca6fd67fcf22c9293a79d0c04d9f487a9b853d9 (diff)
downloadopenttd-9f3351fed4bf582db6c6fec74199b4e7cd9d8820.tar.xz
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
-rw-r--r--src/airport_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index 181744adc..991c579f0 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -156,7 +156,7 @@ enum {
BAW_STR_INTERCONTINENTAL_AIRPORT,
BAW_HELISTATION,
BAW_LAST_AIRPORT = BAW_HELISTATION,
- BAW_AIRPORT_COUNT = BAW_LAST_AIRPORT - BAW_SMALL_AIRPORT,
+ BAW_AIRPORT_COUNT = BAW_LAST_AIRPORT - BAW_SMALL_AIRPORT + 1,
BAW_BTN_DONTHILIGHT = BAW_LAST_AIRPORT + 1,
BAW_BTN_DOHILIGHT,
};