From 0e680a0f9698f6cb533246f030ed4a063d906749 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Wed, 23 Aug 2017 22:11:11 +0300 Subject: [PATCH] don't skip drawing disabled panels --- src/game/g_panel.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_panel.pas b/src/game/g_panel.pas index 19a6af8..96bd7f1 100644 --- a/src/game/g_panel.pas +++ b/src/game/g_panel.pas @@ -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 -- 2.29.2