foxygit / doom Log in
commit dbbadb9016ce44e37c751b28482a75fcf94bb141
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 13:00:53 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Thu Nov 3 10:25:16 2022 +0200

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

diff --git a/src/doom/p_maputl.c b/src/doom/p_maputl.c
index 6cc35a5a..9a848aa0 100644
--- a/src/doom/p_maputl.c
+++ b/src/doom/p_maputl.c
@@ -728,7 +728,6 @@ P_TraverseIntercepts
     return true;		// everything was traversed
 }

-extern fixed_t bulletslope;

 // Intercepts Overrun emulation, from PrBoom-plus.
 // Thanks to Andrey Budko (entryway) for researching this and his
diff --git a/src/doom/p_pspr.h b/src/doom/p_pspr.h
index f98fe353..2616bd47 100644
--- a/src/doom/p_pspr.h
+++ b/src/doom/p_pspr.h
@@ -68,4 +68,8 @@ typedef struct

 } pspdef_t;

+
+extern fixed_t bulletslope;
+
+
 #endif