foxygit / doom Log in
commit 9319739fb53d3b7ea84f453cb6dbb6d1e7fb0907
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 18:48:20 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Sat Oct 29 17:51:56 2022 +0300

    heretic: Move columnofs extern declaration to r_local.h
---
 src/heretic/r_local.h | 3 +++
 src/heretic/r_plane.c | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/heretic/r_local.h b/src/heretic/r_local.h
index 1bd114a5..31a69cf0 100644
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -397,6 +397,9 @@ extern int *texturetranslation; // for global animation

 extern int firstspritelump, lastspritelump, numspritelumps;

+extern int columnofs[MAXWIDTH];
+
+
 byte *R_GetColumn(int tex, int col);
 void R_InitData(void);
 void R_PrecacheLevel(void);
diff --git a/src/heretic/r_plane.c b/src/heretic/r_plane.c
index 7924c17f..fdd46bea 100644
--- a/src/heretic/r_plane.c
+++ b/src/heretic/r_plane.c
@@ -382,7 +382,6 @@ void R_DrawPlanes(void)
     fixed_t frac, fracstep;

     extern byte *ylookup[MAXHEIGHT];
-    extern int columnofs[MAXWIDTH];

 #ifdef RANGECHECK
     if (ds_p - drawsegs > MAXDRAWSEGS)