cleanup: use proper api to get tile number in MapScanner
This commit is contained in:
parent
b9ea433c3a
commit
7ef2158071
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ class MapScanner extends TileBehavior
|
|||
{
|
||||
if (city.testBounds(x,y))
|
||||
{
|
||||
int loc = city.map[y][x] & LOMASK;
|
||||
int loc = city.getTile(x, y);
|
||||
if (loc >= LHTHR && loc <= HHTHR)
|
||||
{ //little house
|
||||
city.setTile(x, y, (char)(Brdr[z] + RESCLR - 4));
|
||||
|
|
Reference in a new issue