diff options
author | terkhen <terkhen@openttd.org> | 2011-06-13 06:28:43 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-13 06:28:43 +0000 |
commit | 7f5612a98f9aa9f6c00542d4a101738e2ac9b764 (patch) | |
tree | 770ffb41dce266db0639ec3f7c18d6dbd59f5e67 /src | |
parent | 729d786d5eb136e780def10153a50ba38180ee4a (diff) | |
download | openttd-7f5612a98f9aa9f6c00542d4a101738e2ac9b764.tar.xz |
(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_commons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 59118a6ff..c8ad3c74a 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -146,7 +146,7 @@ uint16 OverrideManagerBase::AddEntityID(byte grf_local_id, uint32 grfid, byte su * @param entity_id ID of the entity being queried. * @return GRFID. */ -uint16 OverrideManagerBase::GetGRFID(uint16 entity_id) const +uint32 OverrideManagerBase::GetGRFID(uint16 entity_id) const { return mapping_ID[entity_id].grfid; } |