X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_panel.pas;h=c46cf8c456d1f591698f72dc96593132c17680e0;hb=5af73370d6483479ea1d7c997878188fa3d47c1c;hp=c562934ec753748f26269fb776a629cd7d61ab08;hpb=6d6df4e3427cd01e03e172984c9d0d391ff38032;p=d2df-sdl.git diff --git a/src/game/g_panel.pas b/src/game/g_panel.pas index c562934..c46cf8c 100644 --- a/src/game/g_panel.pas +++ b/src/game/g_panel.pas @@ -272,8 +272,7 @@ var begin 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 + (g_dbg_scale_05 or g_Collide(X, Y, Width, Height, sX, sY, sWidth, sHeight)) then begin if FTextureIDs[FCurTexture].Anim then begin // Àíèìèðîâàííàÿ òåêñòóðà