MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetRandomTriggers

Method GetRandomTriggers

src/newgrf_house.cpp:229–233  ·  view source on GitHub ↗

virtual */

Source from the content-addressed store, hash-verified

227}
228
229/* virtual */ uint32_t HouseScopeResolver::GetRandomTriggers() const
230{
231 /* Note: Towns build houses over houses. So during construction checks 'tile' may be a valid but unrelated house. */
232 return this->not_yet_constructed ? 0 : GetHouseRandomTriggers(this->tile).base();
233}
234
235static uint32_t GetNumHouses(HouseID house_id, const Town *town)
236{

Callers

nothing calls this directly

Calls 2

GetHouseRandomTriggersFunction · 0.85
baseMethod · 0.45

Tested by

no test coverage detected