From: Michael Gernoth Date: Thu, 24 Jan 2008 17:09:38 +0000 (+0100) Subject: draw a solid overlay, when requested X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/c46005fac01be68d45238a9344375fff5425f9a2?ds=sidebyside;hp=403895917c093bdb88836e8e1694e937e1dd966e draw a solid overlay, when requested --- diff --git a/src/sim/g_map.c b/src/sim/g_map.c index 667cfae..1d2cb9e 100644 --- a/src/sim/g_map.c +++ b/src/sim/g_map.c @@ -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;