summaryrefslogtreecommitdiff
path: root/src/table/newgrf_debug_data.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 21:03:38 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 21:03:38 +0000
commit6d6939f844783e4e2d6a844aa53e0e059303f2f3 (patch)
treeb791746f1126218037335373cbd09ee228b9ac69 /src/table/newgrf_debug_data.h
parentb6a0806948583a9551df6ae3601a7310e648207d (diff)
downloadopenttd-6d6939f844783e4e2d6a844aa53e0e059303f2f3.tar.xz
(svn r20401) -Codechange: let HouseSpec use GRFFileProps
Diffstat (limited to 'src/table/newgrf_debug_data.h')
-rw-r--r--src/table/newgrf_debug_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h
index 7037ea1b0..4b8fe1b47 100644
--- a/src/table/newgrf_debug_data.h
+++ b/src/table/newgrf_debug_data.h
@@ -180,7 +180,7 @@ static const NIVariable _niv_house[] = {
};
class NIHHouse : public NIHelper {
- bool IsInspectable(uint index) const { return HouseSpec::Get(GetHouseType(index))->grffile != NULL; }
+ bool IsInspectable(uint index) const { return HouseSpec::Get(GetHouseType(index))->grf_prop.grffile != NULL; }
uint GetParent(uint index) const { return GetInspectWindowNumber(GSF_FAKE_TOWNS, GetTownIndex(index)); }
const void *GetInstance(uint index)const { return NULL; }
const void *GetSpec(uint index) const { return HouseSpec::Get(GetHouseType(index)); }