summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:50:03 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:50:03 +0000
commita619ad37897c6ee985aa7bb0dadbd9bbc47c5a63 (patch)
tree95db697b7650bab2fadc89e43c2e5697bf6040b6 /src/table
parent7ffc8c0173cea7b364636e4a0686e72947095a9a (diff)
downloadopenttd-a619ad37897c6ee985aa7bb0dadbd9bbc47c5a63.tar.xz
(svn r22569) -Feature: [NewGRF] Persistent storage for towns.
Diffstat (limited to 'src/table')
-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 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 = {