GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff104a8
)
Now d_frames is affecting projectiles too
author
Jabberwock-RU <jab1@yandex.ru>
Tue, 5 Apr 2016 23:32:34 +0000
(
03:32
+0400)
committer
Jabberwock-RU <jab1@yandex.ru>
Tue, 5 Apr 2016 23:34:48 +0000
(
03:34
+0400)
src/game/g_weapons.pas
patch
|
blob
|
history
diff --git
a/src/game/g_weapons.pas
b/src/game/g_weapons.pas
index 0e80e5846c557f7846bc1b3f04890f3ac48ee0a1..e8f855d1c6005fd1a5dc262c81d461d3e039c899 100644
(file)
--- 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;
DEADSOFTWARE 2012-2025