From bbdb831301bcb1f090e578f36d94d80460f8e7a7 Mon Sep 17 00:00:00 2001 From: glx Date: Thu, 27 Mar 2008 21:36:16 +0000 Subject: (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. --- src/newgrf_industries.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_industries.cpp') 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) -- cgit v1.2.3-54-g00ecf