diff options
author | frosch <frosch@openttd.org> | 2013-10-12 16:34:23 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-12 16:34:23 +0000 |
commit | a92b6985258901b0f45a22a9eb6e61b731e638f1 (patch) | |
tree | c5bb68bb1f4d413a0ae05910bfd64f262dcf0e9c /src/airport.h | |
parent | cfaa9457a6926fb85ae477e29c2df036e2691121 (diff) | |
download | openttd-a92b6985258901b0f45a22a9eb6e61b731e638f1.tar.xz |
(svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS to properly distinguish limits per NewGRF and limits of the pool.
Diffstat (limited to 'src/airport.h')
-rw-r--r-- | src/airport.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/airport.h b/src/airport.h index 7f0cac494..34266e36c 100644 --- a/src/airport.h +++ b/src/airport.h @@ -37,7 +37,8 @@ enum AirportTypes { AT_HELISTATION = 8, ///< Heli station airport. AT_OILRIG = 9, ///< Oilrig airport. NEW_AIRPORT_OFFSET = 10, ///< Number of the first newgrf airport. - NUM_AIRPORTS = 128, ///< Maximal number of airports. + NUM_AIRPORTS_PER_GRF = 128, ///< Maximal number of airports per NewGRF. + NUM_AIRPORTS = 128, ///< Maximal number of airports in total. AT_INVALID = 254, ///< Invalid airport. AT_DUMMY = 255, ///< Dummy airport. }; |