diff options
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r-- | src/newgrf_house.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp index 1ec391c51..f6e1d3790 100644 --- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -397,10 +397,7 @@ static void NewHouseResolver(ResolverObject *res, HouseID house_id, TileIndex ti res->callback = CBID_NO_CALLBACK; res->callback_param1 = 0; res->callback_param2 = 0; - res->last_value = 0; - res->trigger = 0; - res->reseed = 0; - res->count = 0; + res->ResetState(); const HouseSpec *hs = HouseSpec::Get(house_id); res->grffile = (hs != NULL ? hs->grf_prop.grffile : NULL); |