shithub: choc

Download patch

ref: 604ac99cdd6124470338b772a69fec26a3e20f54
parent: b2f9b5516e300ecff96635e45ad91bf7d8e20e87
author: Turo Lamminen <[email protected]>
date: Thu Sep 8 09:19:40 EDT 2022

doom: Replace numlinespecials and linespeciallist extern declarations with definitions

--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -133,8 +133,8 @@
 //
 #define MAXLINEANIMS            64
 
-extern  short	numlinespecials;
-extern  line_t*	linespeciallist[MAXLINEANIMS];
+short numlinespecials;
+line_t *linespeciallist[MAXLINEANIMS];
 
 
 
@@ -1376,8 +1376,6 @@
 // After the map has been loaded, scan for specials
 //  that spawn thinkers
 //
-short		numlinespecials;
-line_t*		linespeciallist[MAXLINEANIMS];
 
 static unsigned int NumScrollers()
 {