DEADSOFTWARE

"dbg_scale" debug variable
[d2df-sdl.git] / src / game / g_panel.pas
index 685c245ffe075590491851c94d6e95699296e8c1..f1aa0078ede8d0e6d64e1ff1a680348d859f1409 100644 (file)
@@ -303,7 +303,7 @@ var
 begin
   if {Enabled and} (FCurTexture >= 0) and
      (Width > 0) and (Height > 0) and (FAlpha < 255) and
-     (g_dbg_scale_05 or g_Collide(X, Y, Width, Height, sX, sY, sWidth, sHeight)) then
+     ((g_dbg_scale <> 1.0) or g_Collide(X, Y, Width, Height, sX, sY, sWidth, sHeight)) then
   begin
     if FTextureIDs[FCurTexture].Anim then
       begin // Àíèìèðîâàííàÿ òåêñòóðà