diff options
author | adf88 <adf88@openttd.org> | 2017-08-31 06:55:38 +0000 |
---|---|---|
committer | adf88 <adf88@openttd.org> | 2017-08-31 06:55:38 +0000 |
commit | 6dec88930653a84856c75060a0793c843e6a4beb (patch) | |
tree | 0063bfe9c6042d8fcd6a056355ea6199cd0541f8 /src/airport.cpp | |
parent | b56453f93ba5aff4760e4c54a17af9028a57f77d (diff) | |
download | openttd-6dec88930653a84856c75060a0793c843e6a4beb.tar.xz |
(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant
Diffstat (limited to 'src/airport.cpp')
-rw-r--r-- | src/airport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport.cpp b/src/airport.cpp index a50c049c2..7985e017a 100644 --- a/src/airport.cpp +++ b/src/airport.cpp @@ -27,7 +27,7 @@ * @param delta_z Height of the airport above the land. */ #define AIRPORT_GENERIC(name, terminals, num_helipads, flags, delta_z) \ - static AirportFTAClass _airportfta_ ## name(_airport_moving_data_ ## name, terminals, \ + static const AirportFTAClass _airportfta_ ## name(_airport_moving_data_ ## name, terminals, \ num_helipads, _airport_entries_ ## name, flags, _airport_fta_ ## name, delta_z); /** |