summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-10-17 21:37:25 +0000
committerplanetmaker <planetmaker@openttd.org>2013-10-17 21:37:25 +0000
commit2ee9a2b5e70bb52ae08d8d18d94b7e082a12a63f (patch)
tree4aa8cc9e07c0c324fc198a6e3b6a6b7d72d218b7 /src/newgrf_object.h
parent547b1fba45cb7a877cd4966a6854aeebffef0c71 (diff)
downloadopenttd-2ee9a2b5e70bb52ae08d8d18d94b7e082a12a63f.tar.xz
(svn r25875) -Change: In scenario editor allow to build all objects which were available at any point in the past to support building scenarios with historic items
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 36b7d420e..660ad76aa 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -90,6 +90,7 @@ struct ObjectSpec {
Money GetClearCost() const { return GetPrice(PR_CLEAR_OBJECT, this->clear_cost_multiplier, this->grf_prop.grffile, 0); }
bool IsEverAvailable() const;
+ bool WasEverAvailable() const;
bool IsAvailable() const;
uint Index() const;