api: fix use of hi-bits in stadium-handling code
This commit is contained in:
parent
e913626f60
commit
951c0fecbf
1 changed files with 4 additions and 3 deletions
|
@ -943,12 +943,13 @@ class MapScanner extends TileBehavior
|
|||
|
||||
for (int y = 0; y < 4; y++)
|
||||
{
|
||||
for (int x = 0; x < 4; x++, zoneBase++)
|
||||
for (int x = 0; x < 4; x++)
|
||||
{
|
||||
city.setTile(xpos - 1 + x, ypos - 1 + y,
|
||||
(char) (zoneBase | (x == 1 && y == 1 ? (PWRBIT) : 0)));
|
||||
city.setTile(xpos - 1 + x, ypos - 1 + y, (char)zoneBase);
|
||||
zoneBase++;
|
||||
}
|
||||
}
|
||||
city.setTilePower(xpos, ypos, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue