tiles.rc: move CONDBIT knowledge from source code to tiles.rc
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@746 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
b65e83ec79
commit
68717e3ea6
8 changed files with 56 additions and 53 deletions
|
@ -260,7 +260,7 @@ public class OverlayMapView extends JComponent
|
|||
// zone
|
||||
pix = ((rawTile & PWRBIT) != 0) ? POWERED : UNPOWERED;
|
||||
}
|
||||
else if ((rawTile & CONDBIT) != 0) {
|
||||
else if (isConductive(rawTile)) {
|
||||
pix = CONDUCTIVE;
|
||||
}
|
||||
else {
|
||||
|
|
Reference in a new issue