foxygit / doom Log in
commit 604ac99cdd6124470338b772a69fec26a3e20f54
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 13:19:40 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Nov 1 17:55:30 2022 +0200

    doom: Replace numlinespecials and linespeciallist extern declarations with definitions
---
 src/doom/p_spec.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/doom/p_spec.c b/src/doom/p_spec.c
index 57f1d704..7e0ca70e 100644
--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -133,8 +133,8 @@ anim_t*		lastanim;
 //
 #define MAXLINEANIMS            64

-extern  short	numlinespecials;
-extern  line_t*	linespeciallist[MAXLINEANIMS];
+short numlinespecials;
+line_t *linespeciallist[MAXLINEANIMS];



@@ -1376,8 +1376,6 @@ int EV_DoDonut(line_t*	line)
 // After the map has been loaded, scan for specials
 //  that spawn thinkers
 //
-short		numlinespecials;
-line_t*		linespeciallist[MAXLINEANIMS];

 static unsigned int NumScrollers()
 {