diff options
author | frosch <frosch@openttd.org> | 2014-03-03 19:32:53 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-03-03 19:32:53 +0000 |
commit | b935cb84156f18b51196288ff6d12f8ca5b26630 (patch) | |
tree | 9634ca3355681afe73db3a3b402f865695ee2273 /src/newgrf_spritegroup.h | |
parent | 363d5e8205ba1734478fd2bdd54b99246d0bbbb2 (diff) | |
download | openttd-b935cb84156f18b51196288ff6d12f8ca5b26630.tar.xz |
(svn r26387) -Cleanup (r26173): No need to manually clear registers before resolving.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r-- | src/newgrf_spritegroup.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index e6eb4fbcb..c3753dcfd 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -33,17 +33,6 @@ static inline uint32 GetRegister(uint i) return _temp_store.GetValue(i); } -/** - * Clears the value of a so-called newgrf "register". - * @param i index of the register - * @pre i < 0x110 - */ -static inline void ClearRegister(uint i) -{ - extern TemporaryStorageArray<int32, 0x110> _temp_store; - _temp_store.StoreValue(i, 0); -} - /* List of different sprite group types */ enum SpriteGroupType { SGT_REAL, |