From 8c9cc415e3eac6a7709f6a8978f213311416312e Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 25 May 2008 22:36:44 +0000 Subject: (svn r13255) -Codechange: move _opt to _settings. --- src/town.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town.h') diff --git a/src/town.h b/src/town.h index 3e5da5546..d19a6b387 100644 --- a/src/town.h +++ b/src/town.h @@ -197,7 +197,7 @@ struct Town : PoolItem { inline uint16 MaxTownNoise() const { if (this->population == 0) return 0; // no population? no noise - return ((this->population / _settings.economy.town_noise_population[_opt.diff.town_council_tolerance]) + 3); + return ((this->population / _settings.economy.town_noise_population[_settings.difficulty.town_council_tolerance]) + 3); } }; -- cgit v1.2.3-54-g00ecf