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 | 82c696688c9f66c701a2426acc4aed4fd67f2730 (patch) | |
tree | 794224f69f4b2276a61e39ad055658d196802fb3 /src/airport.h | |
parent | 4d0f8bac27accffb002e51ba1d80c5814addc173 (diff) | |
download | openttd-82c696688c9f66c701a2426acc4aed4fd67f2730.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; |