foxygit / doom Log in
commit 96b0a77bed5e93dc18dde7743d486cd34af3b82e
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 18:41:41 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Fri Oct 7 13:14:28 2022 +0300

    hexen: Move askforquit extern declaration to h2def.h
---
 src/hexen/h2_main.c | 1 -
 src/hexen/h2def.h   | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 2af7ec1d..f5c17b7f 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -87,7 +87,6 @@ static void WarpCheck(void);

 // EXTERNAL DATA DECLARATIONS ----------------------------------------------

-extern boolean askforquit;

 // PUBLIC DATA DEFINITIONS -------------------------------------------------

diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 880f3f1f..0b556b1c 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1081,6 +1081,7 @@ int MN_TextBWidth(const char *text);

 extern int messageson;
 extern boolean MenuActive;
+extern boolean askforquit;


 #include "sounds.h"