diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:40:21 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:40:21 +0000 |
commit | 0749c65d74e7368643e3c4f4f70768993e8b7f41 (patch) | |
tree | 70a2f6ff9ab5982b1366cc77c75afe4cf6c08a3a /src/newgrf_airport.cpp | |
parent | dc6218aa49101b3c0e20bd7e3da7ed05b7883b78 (diff) | |
download | openttd-0749c65d74e7368643e3c4f4f70768993e8b7f41.tar.xz |
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
Diffstat (limited to 'src/newgrf_airport.cpp')
-rw-r--r-- | src/newgrf_airport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_airport.cpp b/src/newgrf_airport.cpp index 6a893180d..03fa9567d 100644 --- a/src/newgrf_airport.cpp +++ b/src/newgrf_airport.cpp @@ -149,7 +149,7 @@ uint32 AirportGetVariable(const ResolverObject *object, byte variable, byte para switch (variable) { /* Get a variable from the persistent storage */ - case 0x7C: return st->airport.psa.Get(parameter); + case 0x7C: return st->airport.psa.GetValue(parameter); case 0xF0: return st->facilities; case 0xFA: return Clamp(st->build_date - DAYS_TILL_ORIGINAL_BASE_YEAR, 0, 65535); @@ -194,7 +194,7 @@ void AirportStorePSA(ResolverObject *object, uint pos, int32 value) { Station *st = object->u.airport.st; if (object->scope != VSG_SCOPE_SELF || st == NULL) return; - st->airport.psa.Store(pos, value); + st->airport.psa.StoreValue(pos, value); } static void NewAirportResolver(ResolverObject *res, TileIndex tile, Station *st, byte airport_id, byte layout) |