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

    strife: Replace numlinespecials extern declaration with definition
---
 src/strife/p_spec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index 174ff622..d1a53212 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -143,7 +143,7 @@ anim_t* lastanim;
 // haleyjd 08/29/10: [STRIFE] MAXLINEANIMS raised from 64 to 96
 #define MAXLINEANIMS            96

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


@@ -1865,7 +1865,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];