Mercurial > hg > openttd
changeset 17789:02fa89d261c9 draft
(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.
author | terkhen <terkhen@openttd.org> |
---|---|
date | Mon, 13 Jun 2011 06:28:43 +0000 |
parents | 5d14fa020688 |
children | 36f763a51f80 |
files | src/newgrf_commons.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -146,7 +146,7 @@ * @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; }