forked from mirror/OpenTTD
(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.
This commit is contained in:
@@ -146,7 +146,7 @@ uint16 OverrideManagerBase::AddEntityID(byte grf_local_id, uint32 grfid, byte su
|
|||||||
* @param entity_id ID of the entity being queried.
|
* @param entity_id ID of the entity being queried.
|
||||||
* @return GRFID.
|
* @return GRFID.
|
||||||
*/
|
*/
|
||||||
uint16 OverrideManagerBase::GetGRFID(uint16 entity_id) const
|
uint32 OverrideManagerBase::GetGRFID(uint16 entity_id) const
|
||||||
{
|
{
|
||||||
return mapping_ID[entity_id].grfid;
|
return mapping_ID[entity_id].grfid;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user