changeset 3353:7d3460949ceb draft

(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)
author celestar <celestar@openttd.org>
date Wed, 29 Mar 2006 06:51:13 +0000
parents 0de74d0a8212
children c0374d54bfab
files station_map.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/station_map.h
+++ b/station_map.h
@@ -29,7 +29,7 @@
 	BUOY_BASE = 0x52,
 	AIRPORT_BASE_EXTENDED = 0x53,
 
-	TYPE_MAX = 0x72
+	BASE_END = 0x73
 };
 
 enum {
@@ -38,7 +38,7 @@
 	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 {