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