summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.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_industrytiles.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_industrytiles.cpp')
-rw-r--r--src/newgrf_industrytiles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index 4b229f7e3..1303a6460 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -170,6 +170,7 @@ static void NewIndustryTileResolver(ResolverObject *res, IndustryGfx gfx, TileIn
res->last_value = 0;
res->trigger = 0;
res->reseed = 0;
+ res->count = 0;
}
void IndustryDrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte rnd_color, byte stage, IndustryGfx gfx)