summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-16 16:04:35 +0000
committeryexo <yexo@openttd.org>2010-03-16 16:04:35 +0000
commit05d29d8a3d46b202cef21a192f8ae974ff23f99e (patch)
tree7cddca6f8a85551edd80d669993d827343eeb3ac /src/newgrf_commons.h
parent604da97364d9b6ceb77624bb208b3c432494caf4 (diff)
downloadopenttd-05d29d8a3d46b202cef21a192f8ae974ff23f99e.tar.xz
(svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index e531c824e..a6b94e2e2 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -57,7 +57,7 @@ public:
void Add(uint8 local_id, uint32 grfid, uint entity_type);
virtual uint16 AddEntityID(byte grf_local_id, uint32 grfid, byte substitute_id);
- uint16 GetSubstituteID(byte entity_id);
+ uint16 GetSubstituteID(uint16 entity_id);
virtual uint16 GetID(uint8 grf_local_id, uint32 grfid);
inline uint16 GetMaxMapping() { return max_new_entities; }