shithub: choc

Download patch

ref: 9122d09f98deedd169665e1e22b0020a2629c57f
parent: e664067dd2b572420145b768fa2668e2a869d9a5
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 12:02:03 EDT 2022

heretic: Move viewactive extern declaration to doomdef.h

--- a/src/heretic/am_map.c
+++ b/src/heretic/am_map.c
@@ -146,8 +146,6 @@
 
 static byte cheatcount = 0;
 
-extern boolean viewactive;
-
 static byte antialias[NUMALIAS][8] = {
     {96, 97, 98, 99, 100, 101, 102, 103},
     {110, 109, 108, 107, 106, 105, 104, 103},
--- 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 viewactive;
+
 extern boolean deathmatch;      // only if started as net death
 
 extern boolean netgame;         // only true if >1 player
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -36,8 +36,6 @@
 
 static int FontABaseLump;
 
-extern boolean viewactive;
-
 
 /*
 =======================