commit d8b42f219ae4f4a9ecbd05d678e1726b6179803e
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 17:58:30 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300
strife: Move numflats extern declaration to r_data.h
---
src/strife/p_spec.c | 2 --
src/strife/r_data.h | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index eecbcf3e..de01eaa4 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -1681,8 +1681,6 @@ static void DonutOverrun(fixed_t *s3_floorheight, short *s3_floorpic,
static int tmp_s3_floorheight;
static int tmp_s3_floorpic;
- extern int numflats;
-
if (first)
{
int p;
diff --git a/src/strife/r_data.h b/src/strife/r_data.h
index b038a42d..efeb4f75 100644
--- 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