shithub: choc

Download patch

ref: acc40d847eea0078f40db6d75c0c02e3a32aaa95
parent: a8e90d0cb6e7e8d702bc8a0576d031304803c4da
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 13:56:12 EDT 2022

strife: Replace numlinespecials extern declaration with definition

--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -143,7 +143,7 @@
 // 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 @@
 // After the map has been loaded, scan for specials
 //  that spawn thinkers
 //
-short		numlinespecials;
 line_t*		linespeciallist[MAXLINEANIMS];