X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/276e43bad96799ae902957a247aae6c7d44ff975..ce97f582f12636d9ccd235548a7a52ea6bd4dca8:/src/sim/g_map.c diff --git a/src/sim/g_map.c b/src/sim/g_map.c index 667cfae..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); @@ -470,7 +470,7 @@ drawRect(SimView *view, int pixel, int solid, image += 3; } } else { - if (stipple++ & 1) { + if (solid || stipple++ & 1) { *(image++) = (pixel >> 0) & 0xff; *(image++) = (pixel >> 8) & 0xff; *(image++) = (pixel >> 16) & 0xff;