shithub: choc

Download patch

ref: b8d2bc344705ae3c530da783db45b3fefb94a5b3
parent: dbbadb9016ce44e37c751b28482a75fcf94bb141
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 09:32:31 EDT 2022

doom: Move numflats extern declaration to r_data.h

--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -1192,8 +1192,6 @@
     static int tmp_s3_floorheight;
     static int tmp_s3_floorpic;
 
-    extern int numflats;
-
     if (first)
     {
         int p;
--- a/src/doom/r_data.h
+++ b/src/doom/r_data.h
@@ -48,4 +48,8 @@
 int R_TextureNumForName(const char *name);
 int R_CheckTextureNumForName(const char *name);
 
+
+extern int numflats;
+
+
 #endif