(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant

This commit is contained in:
adf88
2017-08-31 06:55:38 +00:00
parent b56453f93b
commit 6dec889306
4 changed files with 24 additions and 24 deletions

View File

@@ -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);
/**