shithub: choc

Download patch

ref: e07a7389b2c21aa6b58a79c6f8dea58754643f35
parent: 8192e9306e7c5ef48ef5e9971f922e868951a6c3
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 13:26:44 EDT 2022

heretic: Move detailLevel extern declaration to r_local.h

--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -117,9 +117,6 @@
 static void DrawSlider(Menu_t * menu, int item, int width, int slot);
 void MN_LoadSlotText(void);
 
-// External Data
-
-extern int detailLevel;
 
 // Public Data
 
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -294,6 +294,7 @@
 
 extern int detailshift;         // 0 = high, 1 = low
 
+extern int detailLevel;
 extern int screenblocks;
 
 extern void (*colfunc) (void);