X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/276e43bad96799ae902957a247aae6c7d44ff975..9178fb32486a9ed08b02ae1569fb0ebf1848ae1c:/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;