summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-03-27 21:36:16 +0000
committerglx <glx@openttd.org>2008-03-27 21:36:16 +0000
commit90616adcb014e1bfc827d9f59358dd4fb69e20bc (patch)
tree34162967a065797d3c669ce564b884065fe86878 /src/newgrf_industries.cpp
parenta729283a3c3388f015fc424db50761b47d93bf08 (diff)
downloadopenttd-90616adcb014e1bfc827d9f59358dd4fb69e20bc.tar.xz
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 618458d6b..d77cfb8a6 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -410,6 +410,7 @@ static void NewIndustryResolver(ResolverObject *res, TileIndex tile, Industry *i
res->last_value = 0;
res->trigger = 0;
res->reseed = 0;
+ res->count = 0;
}
uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile)