diff options
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r-- | src/newgrf_house.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp index 52eb7b286..fd0281e4e 100644 --- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -344,7 +344,7 @@ static uint32 HouseGetVariable(const ResolverObject *object, byte variable, byte if (house_id < NEW_HOUSE_OFFSET) return 0; /* Checking the grffile information via HouseSpec doesn't work * in case the newgrf was removed. */ - return _house_mngr.mapping_ID[house_id].grfid; + return _house_mngr.GetGRFID(house_id); } } |