summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-03-21 11:05:39 +0000
committerfrosch <frosch@openttd.org>2010-03-21 11:05:39 +0000
commitc049bf3f388438c9901981b1943b35fc3add3e4d (patch)
tree2bd583c61b01cecbd8ad64c38b68bd16767904a2 /src/industry.h
parentb7b01bb9c703acdf93c36e7212e959b399442d93 (diff)
downloadopenttd-c049bf3f388438c9901981b1943b35fc3add3e4d.tar.xz
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h
index 63c647a77..919584589 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -26,7 +26,7 @@ extern IndustryPool _industry_pool;
* Defines the internal data of a functionnal industry
*/
struct Industry : IndustryPool::PoolItem<&_industry_pool> {
- typedef PersistentStorageArray<uint32, 16> PersistentStorage;
+ typedef PersistentStorageArray<int32, 16> PersistentStorage;
TileArea location; ///< Location of the industry
const Town *town; ///< Nearest town