summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-29 06:51:13 +0000
committercelestar <celestar@openttd.org>2006-03-29 06:51:13 +0000
commit2aff28be2b790270a60a2958ed278cc5effa8aae (patch)
treec316a45166f89858cc88f7ba5f6d89d490ab0402
parent85602659537e2ff2b93f47294a1a1add6dbaeee6 (diff)
downloadopenttd-2aff28be2b790270a60a2958ed278cc5effa8aae.tar.xz
(svn r4143) -[FS#86]: Fixed and obi-wan error in station_map.h that would lead to assertions in the airport handling (of international airports)
-rw-r--r--station_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_map.h b/station_map.h
index 97b848eed..41d9f6ce4 100644
--- a/station_map.h
+++ b/station_map.h
@@ -29,7 +29,7 @@ enum {
BUOY_BASE = 0x52,
AIRPORT_BASE_EXTENDED = 0x53,
- TYPE_MAX = 0x72
+ BASE_END = 0x73
};
enum {
@@ -38,7 +38,7 @@ enum {
TRUCK_SIZE = BUS_BASE - TRUCK_BASE,
BUS_SIZE = OILRIG_BASE - BUS_BASE,
DOCK_SIZE_TOTAL = BUOY_BASE - DOCK_BASE,
- AIRPORT_SIZE_EXTENDED = TYPE_MAX - AIRPORT_BASE_EXTENDED
+ AIRPORT_SIZE_EXTENDED = BASE_END - AIRPORT_BASE_EXTENDED
};
typedef enum HangarTiles {