diff options
author | rubidium <rubidium@openttd.org> | 2008-04-29 10:26:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-29 10:26:22 +0000 |
commit | 49ded3f2c3d1a60e44f7c576a171f4354c8080bc (patch) | |
tree | ed88abde6717cceedc2564d98b24ccf9968ddb8e /src | |
parent | 8bb0ff0a63e0060075555cb31ba0765501bbd859 (diff) | |
download | openttd-49ded3f2c3d1a60e44f7c576a171f4354c8080bc.tar.xz |
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
Diffstat (limited to 'src')
-rw-r--r-- | src/airport_gui.cpp | 2 |
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, }; |