X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/c46005fac01be68d45238a9344375fff5425f9a2..9178fb32486a9ed08b02ae1569fb0ebf1848ae1c:/src/sim/g_map.c?ds=inline diff --git a/src/sim/g_map.c b/src/sim/g_map.c index 1d2cb9e..4aea2c1 100644 --- a/src/sim/g_map.c +++ b/src/sim/g_map.c @@ -219,7 +219,7 @@ drawFireRadius(SimView *view) short x, y; drawAll(view); - for (x = 0; x < SmY; x++) { + for (x = 0; x < SmX; x++) { for (y = 0; y < SmY; y++) { maybeDrawRect(view, GetCI(FireRate[x][y]), x * 24, y * 24, 24, 24);