equal
deleted
inserted
replaced
16 #include "viewport.h" |
16 #include "viewport.h" |
17 #include "town.h" |
17 #include "town.h" |
18 #include "command_func.h" |
18 #include "command_func.h" |
19 #include "industry.h" |
19 #include "industry.h" |
20 #include "station.h" |
20 #include "station.h" |
21 #include "vehicle.h" |
|
22 #include "player.h" |
21 #include "player.h" |
23 #include "news.h" |
22 #include "news.h" |
24 #include "saveload.h" |
23 #include "saveload.h" |
25 #include "gui.h" |
24 #include "gui.h" |
26 #include "unmovable_map.h" |
25 #include "unmovable_map.h" |
1791 ChangePopulation(t, hs->population); |
1790 ChangePopulation(t, hs->population); |
1792 } else { |
1791 } else { |
1793 construction_counter = GB(r, 2, 2); |
1792 construction_counter = GB(r, 2, 2); |
1794 } |
1793 } |
1795 } |
1794 } |
1796 MakeTownHouse(tile, t->index, construction_counter, construction_stage, house, VehicleRandomBits()); |
1795 MakeTownHouse(tile, t->index, construction_counter, construction_stage, house, Random()); |
1797 } |
1796 } |
1798 } |
1797 } |
1799 |
1798 |
1800 static bool BuildTownHouse(Town *t, TileIndex tile) |
1799 static bool BuildTownHouse(Town *t, TileIndex tile) |
1801 { |
1800 { |