shithub: choc

Download patch

ref: bcaddd2ec6b8671f1614029aaca87a89ed569ade
parent: 9122d09f98deedd169665e1e22b0020a2629c57f
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 13:39:37 EDT 2022

heretic: Move noartiskip extern declaration to doomdef.h

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -508,6 +508,8 @@
 
 extern boolean cdrom;           // true if cd-rom mode active ("-cdrom")
 
+extern boolean noartiskip;      // whether shift-enter skips an artifact
+
 extern boolean viewactive;
 
 extern boolean deathmatch;      // only if started as net death
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -291,8 +291,6 @@
     int look, arti;
     int flyheight;
 
-    extern boolean noartiskip;
-
     // haleyjd: removed externdriver crap
 
     memset(cmd, 0, sizeof(*cmd));