cleanup: better to use 'tile' than 'rawTile' in TerrainBehavior

This commit is contained in:
Jason Long 2014-06-20 09:36:46 -04:00
parent c6586c322f
commit 69e50258e7

View file

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