From 68c42628e70ba676bb438d90a7f77b51b20314e1 Mon Sep 17 00:00:00 2001 From: Jabberwock-RU Date: Wed, 6 Apr 2016 03:32:34 +0400 Subject: [PATCH] Now d_frames is affecting projectiles too --- src/game/g_weapons.pas | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas index 0e80e58..e8f855d 100644 --- a/src/game/g_weapons.pas +++ b/src/game/g_weapons.pas @@ -1932,6 +1932,15 @@ begin else e_Draw(TextureID, Obj.X, Obj.Y, 0, True, False); end; + + if g_debug_Frames then + begin + e_DrawQuad(Obj.X+Obj.Rect.X, + Obj.Y+Obj.Rect.Y, + Obj.X+Obj.Rect.X+Obj.Rect.Width-1, + Obj.Y+Obj.Rect.Y+Obj.Rect.Height-1, + 0, 255, 0); + end; end; end; -- 2.29.2