From: Ketmar Dark Date: Wed, 23 Aug 2017 19:11:11 +0000 (+0300) Subject: don't skip drawing disabled panels X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=0e680a0f9698f6cb533246f030ed4a063d906749;p=d2df-sdl.git don't skip drawing disabled panels --- 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