DEADSOFTWARE

Holmes' outline fixes; outlines are colored now
[d2df-sdl.git] / src / game / g_holmes_ui.inc
index 4f372842ff369a7c8a598207b044152c1299188e..aaf304db0ada4f121e5b291fbe856203cd7e6f74 100644 (file)
@@ -859,9 +859,12 @@ begin
   for f := 0 to High(mItems) do
   begin
     if (mCurIndex = f) then fillRect(sx-2, sy, mWidth, 8, 0, 128, 0);
-    drawText8(sx, sy, '[ ]', 255, 255, 255);
-    if (mChecks[f] <> nil) and (mChecks[f]^) then drawText8(sx+6, sy, 'x', 255, 255, 255);
-    drawText8(sx+3*8+2, sy, mItems[f], 255, 255, 0);
+    if (mChecks[f] <> nil) then
+    begin
+      drawText8(sx, sy, '[ ]', 255, 255, 255);
+      if mChecks[f]^ then drawText8(sx+6, sy, 'x', 255, 255, 255);
+      drawText8(sx+3*8+2, sy, mItems[f], 255, 255, 0);
+    end;
     Inc(sy, 8);
   end;
 end;