(svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks

This commit is contained in:
yexo
2010-03-16 16:04:35 +00:00
parent a7b93cdeb5
commit fa9d25eb2c
3 changed files with 3 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ uint16 OverrideManagerBase::AddEntityID(byte grf_local_id, uint32 grfid, byte su
* @param entity_id of the entity being queried
* @return mapped id
*/
uint16 OverrideManagerBase::GetSubstituteID(byte entity_id)
uint16 OverrideManagerBase::GetSubstituteID(uint16 entity_id)
{
return mapping_ID[entity_id].substitute_id;
}