(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
static inline uint32 GetRegister(uint i)
|
||||
{
|
||||
extern TemporaryStorageArray<uint32, 0x110> _temp_store;
|
||||
extern TemporaryStorageArray<int32, 0x110> _temp_store;
|
||||
return _temp_store.Get(i);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user