calculate town potential population (all houses finished)

--HG--
branch : town-potential
This commit is contained in:
Pavel Stupnikov
2014-03-29 22:42:54 +04:00
parent 2891c32511
commit df7a1a5feb
5 changed files with 9 additions and 3 deletions

View File

@@ -354,7 +354,8 @@ public:
{
if (widget == WID_TV_CAPTION){
SetDParam(0, this->town->index);
SetDParam(1, this->town->ratings[_current_company]);
SetDParam(1, this->town->cache.potential_pop);
SetDParam(2, this->town->ratings[_current_company]);
}
if (widget == WID_TV_CB){
extern bool _novahost;