diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas
index ff7089b46f31177abfc89971a3f66a28b8838e36..52c3b24890adb90e6ab452556ad93b65f220a654 100644 (file)
--- a/src/game/g_gfx.pas
+++ b/src/game/g_gfx.pas
procedure g_GFX_Draw ();
var
a, len: Integer;
- scaled: Boolean;
begin
if not gpart_dbg_enabled then exit;
glBegin(GL_POINTS);
- scaled := (g_dbg_scale <> 1.0);
-
len := High(Particles);
for a := 0 to len do
begin
with Particles[a] do
begin
if not alive then continue;
- if scaled or ((x >= sX) and (y >= sY) and (x <= sX+sWidth) and (sY <= sY+sHeight)) then
+ if (x >= sX) and (y >= sY) and (x <= sX+sWidth) and (sY <= sY+sHeight) then
begin
glColor4ub(red, green, blue, alpha);
glVertex2f(x+0.37, y+0.37);