summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:40:21 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:40:21 +0000
commit0749c65d74e7368643e3c4f4f70768993e8b7f41 (patch)
tree70a2f6ff9ab5982b1366cc77c75afe4cf6c08a3a /src/newgrf_industries.cpp
parentdc6218aa49101b3c0e20bd7e3da7ed05b7883b78 (diff)
downloadopenttd-0749c65d74e7368643e3c4f4f70768993e8b7f41.tar.xz
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 22c20495f..d2a56f8ac 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -283,7 +283,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
}
/* Get a variable from the persistent storage */
- case 0x7C: return industry->psa.Get(parameter);
+ case 0x7C: return industry->psa.GetValue(parameter);
/* Industry structure access*/
case 0x80: return industry->location.tile;
@@ -386,7 +386,7 @@ void IndustryStorePSA(ResolverObject *object, uint pos, int32 value)
{
Industry *ind = object->u.industry.ind;
if (object->scope != VSG_SCOPE_SELF || ind->index == INVALID_INDUSTRY) return;
- ind->psa.Store(pos, value);
+ ind->psa.StoreValue(pos, value);
}
static void NewIndustryResolver(ResolverObject *res, TileIndex tile, Industry *indus, IndustryType type)