summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
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_spritegroup.h
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_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h
index 528d18bfc..6cc801a74 100644
--- a/src/newgrf_spritegroup.h
+++ b/src/newgrf_spritegroup.h
@@ -32,7 +32,7 @@
static inline uint32 GetRegister(uint i)
{
extern TemporaryStorageArray<int32, 0x110> _temp_store;
- return _temp_store.Get(i);
+ return _temp_store.GetValue(i);
}
/**
@@ -43,7 +43,7 @@ static inline uint32 GetRegister(uint i)
static inline void ClearRegister(uint i)
{
extern TemporaryStorageArray<int32, 0x110> _temp_store;
- _temp_store.Store(i, 0);
+ _temp_store.StoreValue(i, 0);
}
/* List of different sprite group types */