mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-07 19:59:12 +01:00
Change: Don't use house construction states in Scenario Editor
This commit is contained in:
parent
06bd47af4f
commit
5ed2fcfb53
@ -2691,7 +2691,7 @@ static void BuildTownHouse(Town *t, TileIndex tile, const HouseSpec *hs, HouseID
|
|||||||
uint32_t construction_random = Random();
|
uint32_t construction_random = Random();
|
||||||
|
|
||||||
construction_stage = TOWN_HOUSE_COMPLETED;
|
construction_stage = TOWN_HOUSE_COMPLETED;
|
||||||
if (Chance16(1, 7)) construction_stage = GB(construction_random, 0, 2);
|
if (_generating_world && Chance16(1, 7)) construction_stage = GB(construction_random, 0, 2);
|
||||||
|
|
||||||
if (construction_stage == TOWN_HOUSE_COMPLETED) {
|
if (construction_stage == TOWN_HOUSE_COMPLETED) {
|
||||||
ChangePopulation(t, hs->population);
|
ChangePopulation(t, hs->population);
|
||||||
|
Loading…
Reference in New Issue
Block a user