shithub: choc

Download patch

ref: 9319739fb53d3b7ea84f453cb6dbb6d1e7fb0907
parent: 19eeebaad1cdd8c8f030f6cc0a87ad986b093691
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 14:48:20 EDT 2022

heretic: Move columnofs extern declaration to r_local.h

--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -397,6 +397,9 @@
 
 extern int firstspritelump, lastspritelump, numspritelumps;
 
+extern int columnofs[MAXWIDTH];
+
+
 byte *R_GetColumn(int tex, int col);
 void R_InitData(void);
 void R_PrecacheLevel(void);
--- a/src/heretic/r_plane.c
+++ b/src/heretic/r_plane.c
@@ -382,7 +382,6 @@
     fixed_t frac, fracstep;
 
     extern byte *ylookup[MAXHEIGHT];
-    extern int columnofs[MAXWIDTH];
 
 #ifdef RANGECHECK
     if (ds_p - drawsegs > MAXDRAWSEGS)