DEADSOFTWARE

added "dbg_scale_half" experimental deBUG mode
[d2df-sdl.git] / src / game / g_panel.pas
index c562934ec753748f26269fb776a629cd7d61ab08..c46cf8c456d1f591698f72dc96593132c17680e0 100644 (file)
@@ -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 // Àíèìèðîâàííàÿ òåêñòóðà