DEADSOFTWARE

Now d_frames is affecting projectiles too
authorJabberwock-RU <jab1@yandex.ru>
Tue, 5 Apr 2016 23:32:34 +0000 (03:32 +0400)
committerJabberwock-RU <jab1@yandex.ru>
Tue, 5 Apr 2016 23:34:48 +0000 (03:34 +0400)
src/game/g_weapons.pas

index 0e80e5846c557f7846bc1b3f04890f3ac48ee0a1..e8f855d1c6005fd1a5dc262c81d461d3e039c899 100644 (file)
@@ -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;