shithub: choc

Download patch

ref: d8b42f219ae4f4a9ecbd05d678e1726b6179803e
parent: 9a2491e85ee62b6b01ea09ae04b39bb5bb6f15c9
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 13:58:30 EDT 2022

strife: Move numflats extern declaration to r_data.h

--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -1681,8 +1681,6 @@
     static int tmp_s3_floorheight;
     static int tmp_s3_floorpic;
 
-    extern int numflats;
-
     if (first)
     {
         int p;
--- a/src/strife/r_data.h
+++ b/src/strife/r_data.h
@@ -26,6 +26,9 @@
 #include "p_spec.h"    // villsa [STRIFE]
 
 
+extern int numflats;
+
+
 // Retrieve column data for span blitting.
 byte*
 R_GetColumn