diff options
Diffstat (limited to 'src/newgrf_storage.h')
-rw-r--r-- | src/newgrf_storage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_storage.h b/src/newgrf_storage.h index 4e43f124b..cff102ace 100644 --- a/src/newgrf_storage.h +++ b/src/newgrf_storage.h @@ -37,7 +37,7 @@ struct BaseStorageArray * @param pos the position to write at * @param value the value to write */ - virtual void Store(uint pos, uint32 value) = 0; + virtual void Store(uint pos, int32 value) = 0; }; /** @@ -70,7 +70,7 @@ struct PersistentStorageArray : BaseStorageArray { * @param pos the position to write at * @param value the value to write */ - void Store(uint pos, uint32 value) + void Store(uint pos, int32 value) { /* Out of the scope of the array */ if (pos >= SIZE) return; @@ -138,7 +138,7 @@ struct TemporaryStorageArray : BaseStorageArray { * @param pos the position to write at * @param value the value to write */ - void Store(uint pos, uint32 value) + void Store(uint pos, int32 value) { /* Out of the scope of the array */ if (pos >= SIZE) return; |