cleanup: better to use 'tile' than 'rawTile' in TerrainBehavior
This commit is contained in:
parent
c6586c322f
commit
69e50258e7
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class TerrainBehavior extends TileBehavior
|
|||
}
|
||||
|
||||
if (getBoatDis() < 300/16 && PRNG.nextInt(8) == 0) {
|
||||
if ((rawTile & 1) != 0) {
|
||||
if ((tile & 1) != 0) {
|
||||
// vertical bridge
|
||||
if (xpos < city.getWidth()-1) {
|
||||
// look for CHANNEL tile to right of
|
||||
|
|
Reference in a new issue