cleanup: do not refetch the tile value when a property exists having it
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@686 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
cd7537768d
commit
25751e73c4
1 changed files with 2 additions and 2 deletions
|
@ -833,7 +833,7 @@ class MapScanner
|
|||
*/
|
||||
void setSmoke(boolean powerOn)
|
||||
{
|
||||
int cchr9 = city.map[ypos][xpos] & LOMASK;
|
||||
int cchr9 = cchr & LOMASK;
|
||||
|
||||
if (cchr9 < IZB)
|
||||
return;
|
||||
|
@ -1116,7 +1116,7 @@ class MapScanner
|
|||
if (z > 128)
|
||||
return;
|
||||
|
||||
char cchr9 = (char)(city.map[ypos][xpos] & LOMASK);
|
||||
int cchr9 = cchr & LOMASK;
|
||||
if (cchr9 == FREEZ)
|
||||
{
|
||||
if (pop < 8)
|
||||
|
|
Reference in a new issue