From 05d29d8a3d46b202cef21a192f8ae974ff23f99e Mon Sep 17 00:00:00 2001 From: yexo Date: Tue, 16 Mar 2010 16:04:35 +0000 Subject: (svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks --- src/newgrf_commons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_commons.cpp') diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index cf8683498..f95ad985c 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -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; } -- cgit v1.2.3-54-g00ecf