diff options
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r-- | src/newgrf_spritegroup.h | 4 |
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 */ |