diff options
author | rubidium <rubidium@openttd.org> | 2008-05-25 19:17:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-25 19:17:03 +0000 |
commit | 4625695653c3c0be16b61b640c206c557af9ec7b (patch) | |
tree | d480693e848eb121add7037faa150875d750cc98 /src/town.h | |
parent | 6ea832ec7cbd572c72e96a179bb8c744834ee2e7 (diff) | |
download | openttd-4625695653c3c0be16b61b640c206c557af9ec7b.tar.xz |
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town.h b/src/town.h index 8bf21dbd4..3e5da5546 100644 --- a/src/town.h +++ b/src/town.h @@ -197,7 +197,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> { inline uint16 MaxTownNoise() const { if (this->population == 0) return 0; // no population? no noise - return ((this->population / _patches.town_noise_population[_opt.diff.town_council_tolerance]) + 3); + return ((this->population / _settings.economy.town_noise_population[_opt.diff.town_council_tolerance]) + 3); } }; @@ -207,7 +207,7 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> { */ inline TownLayout Town::GetActiveLayout() const { - return (_patches.town_layout == TL_RANDOM) ? this->layout : _patches.town_layout; + return (_settings.economy.town_layout == TL_RANDOM) ? this->layout : _settings.economy.town_layout; } struct HouseSpec { |