(svn r26387) -Cleanup (r26173): No need to manually clear registers before resolving.

This commit is contained in:
frosch
2014-03-03 19:32:53 +00:00
parent 363d5e8205
commit b935cb8415
2 changed files with 2 additions and 12 deletions

View File

@@ -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,