summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-13 07:01:36 +0000
committerterkhen <terkhen@openttd.org>2011-06-13 07:01:36 +0000
commitb7b0637a10f1137ed33fdcf8d026b837b9a07ee4 (patch)
treefcca46667b009c6d16f9375f3394cd6ddc48f942 /src
parent7f5612a98f9aa9f6c00542d4a101738e2ac9b764 (diff)
downloadopenttd-b7b0637a10f1137ed33fdcf8d026b837b9a07ee4.tar.xz
(svn r22575) -Fix (r22574): Compilation error.
Diffstat (limited to 'src')
-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 e38111371..52622a44d 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -185,7 +185,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 GetGRFID(uint16 entity_id) const;
+ uint32 GetGRFID(uint16 entity_id) const;
uint16 GetSubstituteID(uint16 entity_id) const;
virtual uint16 GetID(uint8 grf_local_id, uint32 grfid) const;