diff --git a/TODO b/TODO index 2a0fb98..ff8b7d4 100644 --- a/TODO +++ b/TODO @@ -26,3 +26,6 @@ City size notifications- Graphics- *Let graphics be pluggable; use a mechanism similar to how the UI strings are pluggable according to locale. + +Draw-Bridge- + *If there's traffic on a bridge, the draw bridge does not open correctly. diff --git a/src/micropolisj/engine/MapScanner.java b/src/micropolisj/engine/MapScanner.java index af82ad5..9e1272c 100644 --- a/src/micropolisj/engine/MapScanner.java +++ b/src/micropolisj/engine/MapScanner.java @@ -355,6 +355,11 @@ class MapScanner */ private void applyBridgeChange(int [] Dx, int [] Dy, char [] fromTab, char [] toTab) { + //FIXME- a closed bridge with traffic on it is not + // correctly handled by this subroutine, because the + // the tiles representing traffic on a bridge do not match + // the expected tile values of fromTab + for (int z = 0; z < 7; z++) { int x = xpos + Dx[z]; int y = ypos + Dy[z];