shithub: choc

Download patch

ref: 965fde08c058edeeb03ca0189ccefbe0dedd8956
parent: 8192e9306e7c5ef48ef5e9971f922e868951a6c3
parent: e07a7389b2c21aa6b58a79c6f8dea58754643f35
author: Turo Lamminen <[email protected]>
date: Mon Oct 31 07:02:30 EDT 2022

Merge pull request #1532 from turol/extern-heretic

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);