diff --git a/src/micropolisj/engine/Animate.java b/src/micropolisj/engine/Animate.java index 1967211..c36bc96 100644 --- a/src/micropolisj/engine/Animate.java +++ b/src/micropolisj/engine/Animate.java @@ -128,7 +128,7 @@ class Animate { // There are eight full Industry-zone images in the tiles bank. // This array indicates which of those eight zones have an animation. - static int [] AniThis = { 1, 0, 1, 1, 0, 0, 1, 1 }; + static boolean [] AniThis = {true, false, true, true, false, false, true, true }; // Up to two tiles can be animated. Arrays DX1,DXY indicate the relative // position of the first animated tile. diff --git a/src/micropolisj/engine/MapScanner.java b/src/micropolisj/engine/MapScanner.java index e48d92c..1756d75 100644 --- a/src/micropolisj/engine/MapScanner.java +++ b/src/micropolisj/engine/MapScanner.java @@ -843,7 +843,7 @@ class MapScanner return; int z = ((cchr9 - IZB) / 8) % 8; - if (Smoke.AniThis[z] != 0) + if (Smoke.AniThis[z]) { int xx = xpos + Smoke.DX1[z]; int yy = ypos + Smoke.DY1[z];