From a619ad37897c6ee985aa7bb0dadbd9bbc47c5a63 Mon Sep 17 00:00:00 2001 From: terkhen Date: Sun, 12 Jun 2011 20:50:03 +0000 Subject: (svn r22569) -Feature: [NewGRF] Persistent storage for towns. --- src/table/newgrf_debug_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/table/newgrf_debug_data.h') diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h index 5bed44310..0a5cfb9f0 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -433,7 +433,7 @@ class NIHTown : public NIHelper { const void *GetInstance(uint index)const { return Town::Get(index); } const void *GetSpec(uint index) const { return NULL; } void SetStringParameters(uint index) const { this->SetSimpleStringParameters(STR_TOWN_NAME, index); } - uint Resolve(uint index, uint var, uint param, bool *avail) const { return TownGetVariable(var, param, avail, Town::Get(index)); } + uint Resolve(uint index, uint var, uint param, bool *avail) const { return TownGetVariable(var, param, avail, Town::Get(index), NULL); } }; static const NIFeature _nif_town = { -- cgit v1.2.3-54-g00ecf