]> git.zerfleddert.de Git - micropolis/commitdiff
draw a solid overlay, when requested
authorMichael Gernoth <michael@gernoth.net>
Thu, 24 Jan 2008 17:09:38 +0000 (18:09 +0100)
committerMichael Gernoth <michael@gernoth.net>
Thu, 24 Jan 2008 17:09:38 +0000 (18:09 +0100)
src/sim/g_map.c

index 667cfae5000a2344eecad485c896c51a55265f7c..1d2cb9edf8900ca4d3bc90039c1bcd95b34bae4e 100644 (file)
@@ -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;
Impressum, Datenschutz