foxygit / doom Log in
commit e438d7331598845fc5e1631847cb7521a362c998
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 18:04:14 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Move bulletslope extern declaration to p_pspr.h
---
 src/strife/p_maputl.c | 1 -
 src/strife/p_pspr.h   | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/strife/p_maputl.c b/src/strife/p_maputl.c
index f1773858..e3984c77 100644
--- a/src/strife/p_maputl.c
+++ b/src/strife/p_maputl.c
@@ -772,7 +772,6 @@ P_TraverseIntercepts
     return true;            // everything was traversed
 }

-extern fixed_t bulletslope;

 #if 0
 // Intercepts Overrun emulation, from PrBoom-plus.
diff --git a/src/strife/p_pspr.h b/src/strife/p_pspr.h
index 184cb761..ec4d1370 100644
--- a/src/strife/p_pspr.h
+++ b/src/strife/p_pspr.h
@@ -74,6 +74,10 @@ typedef struct

 typedef struct player_s *playerptr;

+
+extern fixed_t bulletslope;
+
+
 // haleyjd [STRIFE] Exported
 void P_SetPsprite(playerptr player, int position, statenum_t stnum);
 void P_BulletSlope(mobj_t *mo);