summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-22 16:27:45 +0000
committerfrosch <frosch@openttd.org>2012-04-22 16:27:45 +0000
commit27ffb033838e1dc9fede9154181be572e826a1e6 (patch)
tree4cc3bcbb0a3250b5375bb55e6f3628c81afbb9b0 /src/newgrf_object.h
parent1b0d3e3034b4f7a43d4d32692861a1d07bb0f50c (diff)
downloadopenttd-27ffb033838e1dc9fede9154181be572e826a1e6.tar.xz
(svn r24160) -Codechange: Split parts of ObjectSpec::IsAvailable() into ObjectSpec::IsEverAvailable().
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 a01fdee2b..bc2f64f3c 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -82,6 +82,7 @@ struct ObjectSpec {
*/
Money GetClearCost() const { return GetPrice(PR_CLEAR_OBJECT, this->clear_cost_multiplier, this->grf_prop.grffile, 0); }
+ bool IsEverAvailable() const;
bool IsAvailable() const;
uint Index() const;