diff options
author | celestar <celestar@openttd.org> | 2007-02-13 12:34:54 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-02-13 12:34:54 +0000 |
commit | 6f68ac46b8c603b23123b5d899afa6988836f497 (patch) | |
tree | 794224f69f4b2276a61e39ad055658d196802fb3 /src/airport.h | |
parent | d1d1d170f38fd0b079b005a6fbe52355d03f542a (diff) | |
download | openttd-6f68ac46b8c603b23123b5d899afa6988836f497.tar.xz |
(svn r8705) -Codechange: Increased the number of airport blocks to 64. This involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums
Diffstat (limited to 'src/airport.h')
-rw-r--r-- | src/airport.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/airport.h b/src/airport.h index 1b515da5c..ab1b11075 100644 --- a/src/airport.h +++ b/src/airport.h @@ -77,7 +77,7 @@ enum { /* Movement Blocks on Airports */ // blocks (eg_airport_flags) -enum { +static const uint64 TERM1_block = 1 << 0, TERM2_block = 1 << 1, TERM3_block = 1 << 2, @@ -119,8 +119,7 @@ enum { OUT_WAY_block2 = 1 << 31, // end of new blocks - NOTHING_block = 1 << 30 -}; + NOTHING_block = 1 << 30; typedef struct AirportMovingData { int16 x; |