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

Method Reset

src/industry_cmd.cpp:2426–2433  ·  view source on GitHub ↗

Reset the entry. */

Source from the content-addressed store, hash-verified

2424
2425/** Reset the entry. */
2426void IndustryTypeBuildData::Reset()
2427{
2428 this->probability = 0;
2429 this->min_number = 0;
2430 this->target_count = 0;
2431 this->max_wait = 1;
2432 this->wait_count = 0;
2433}
2434
2435/** Completely reset the industry build data. */
2436void IndustryBuildData::Reset()

Callers 3

GenerateIndustriesFunction · 0.45
InitializeIndustriesFunction · 0.45

Calls 1

Tested by

no test coverage detected