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
commitc2bb4a052efad837d80adff0211c8a1df15ca7db (patch)
treec316a45166f89858cc88f7ba5f6d89d490ab0402
parent16ffb03d25d2e81381701779325dcbf45d470e53 (diff)
downloadopenttd-c2bb4a052efad837d80adff0211c8a1df15ca7db.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 {