X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/c46005fac01be68d45238a9344375fff5425f9a2..c926d3309ace0ecb51582617fb45c6297f22f886:/src/sim/g_map.c 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);