cleanup: use proper api to get tile number in MapScanner

This commit is contained in:
Jason Long 2014-06-20 16:02:03 -04:00
parent b9ea433c3a
commit 7ef2158071

View file

@ -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));