summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-03-29 13:52:34 +0000
committercelestar <celestar@openttd.org>2007-03-29 13:52:34 +0000
commita1ab0d29fe5d5f0e5b90cc0908837f6b301d32f7 (patch)
tree37ea5878b75e7b5f0193b94c6d3c2aa3e1e9b498 /src/airport.h
parent386e298acd7855feb54d7b75ce0e3144db487649 (diff)
downloadopenttd-a1ab0d29fe5d5f0e5b90cc0908837f6b301d32f7.tar.xz
(svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts)
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/airport.h b/src/airport.h
index 27af62e62..1113f03a0 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -14,16 +14,17 @@ enum {MAX_HEADINGS = 22};
// Airport types
enum {
- AT_SMALL = 0,
- AT_LARGE = 1,
- AT_HELIPORT = 2,
- AT_METROPOLITAN = 3,
- AT_INTERNATIONAL = 4,
- AT_COMMUTER = 5,
- AT_HELIDEPOT = 6,
- AT_INTERCON = 7,
- AT_HELISTATION = 8,
- AT_OILRIG = 15
+ AT_SMALL = 0,
+ AT_LARGE = 1,
+ AT_HELIPORT = 2,
+ AT_METROPOLITAN = 3,
+ AT_INTERNATIONAL = 4,
+ AT_COMMUTER = 5,
+ AT_HELIDEPOT = 6,
+ AT_INTERCON = 7,
+ AT_HELISTATION = 8,
+ AT_OILRIG = 15,
+ AT_DUMMY = 255
};