shithub: choc

Download patch

ref: e6204ca1d6ec73bf21d277f41c92b38a2219f826
parent: 97d07090a9ce9b6b68de724aaa29a90983e3a24f
author: Turo Lamminen <[email protected]>
date: Fri Sep 9 10:21:54 EDT 2022

heretic: Move askforquit extern declaration to doomdef.h

--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -142,8 +142,6 @@
 
 void D_Display(void)
 {
-    extern boolean askforquit;
-
     // Change the view size if needed
     if (setsizeneeded)
     {
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -811,6 +811,7 @@
 // MENU (MN_menu.c)
 //-----------------
 
+extern boolean askforquit;
 extern boolean MenuActive;
 
 void MN_Init(void);
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -295,7 +295,6 @@
 void F_DrawUnderwater(void)
 {
     static boolean underwawa = false;
-    extern boolean askforquit;
     const char *lumpname;
     byte *palette;