X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_panel.pas;h=96bd7f1817f333246c470eea1933052bf2c2df83;hb=0e680a0f9698f6cb533246f030ed4a063d906749;hp=19a6af815b51077098b1fec363f77bfabdf4370e;hpb=de7f5ee74b7584e08e587929069b17800b5d2eb6;p=d2df-sdl.git 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