cleanup: move res/com/ind Zone Pop() functions to TileConstants

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@687 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-05-28 01:55:49 +00:00
parent 25751e73c4
commit f5e1793592
3 changed files with 47 additions and 29 deletions

View file

@ -778,7 +778,7 @@ class MapScanner
{
city.comZoneCount++;
int tpop = city.commercialZonePop(cchr9);
int tpop = commercialZonePop(cchr);
city.comPop += tpop;
int trafficGood;
@ -890,7 +890,7 @@ class MapScanner
city.indZoneCount++;
setSmoke(powerOn);
int tpop = city.industrialZonePop(cchr9);
int tpop = industrialZonePop(cchr);
city.indPop += tpop;
int trafficGood;
@ -949,7 +949,7 @@ class MapScanner
}
else
{
tpop = city.residentialZonePop(cchr9);
tpop = residentialZonePop(cchr);
}
city.resPop += tpop;