summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-10-25 15:38:19 +0000
committerfrosch <frosch@openttd.org>2017-10-25 15:38:19 +0000
commit135ad9c6c90f93e16e9084741fdbad841161f2c3 (patch)
tree62cbaa27440a7015b6ad2afe3084addd227e6bd5 /src/newgrf_industries.cpp
parent82ae414e8d81718687b88db98346cee594fb2858 (diff)
downloadopenttd-135ad9c6c90f93e16e9084741fdbad841161f2c3.tar.xz
(svn r27929) -Cleanup: Remove unused Industry::random_triggers
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index f0c8dd3b7..9f227a9f5 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -380,7 +380,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
/* virtual */ uint32 IndustriesScopeResolver::GetTriggers() const
{
- return this->industry != NULL ? this->industry->random_triggers : 0;
+ return 0;
}
/* virtual */ void IndustriesScopeResolver::StorePSA(uint pos, int32 value)