DEADSOFTWARE

don't skip drawing disabled panels
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 23 Aug 2017 19:11:11 +0000 (22:11 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 23 Aug 2017 20:31:26 +0000 (23:31 +0300)
src/game/g_panel.pas

index 19a6af815b51077098b1fec363f77bfabdf4370e..96bd7f1817f333246c470eea1933052bf2c2df83 100644 (file)
@@ -270,7 +270,7 @@ var
   NoTextureID: DWORD;
   NW, NH: Word;
 begin
-  if Enabled and (FCurTexture >= 0) and
+  if {Enabled and} (FCurTexture >= 0) and
      (Width > 0) and (Height > 0) and (FAlpha < 255) and
      g_Collide(X, Y, Width, Height,
                sX, sY, sWidth, sHeight) then