From: Jabberwock-RU Date: Tue, 5 Apr 2016 23:32:34 +0000 (+0400) Subject: Now d_frames is affecting projectiles too X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=68c42628e70ba676bb438d90a7f77b51b20314e1;p=d2df-sdl.git Now d_frames is affecting projectiles too --- 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;