ref: 387ce8a3257bf7e3cb56d70f12bd0a124f08ade0
parent: c400ea6705faf51e932708f0c0e2e28a05f40675
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 14:38:48 EDT 2022
hexen: Move MenuActive extern declaration to h2def.h
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -858,7 +858,6 @@
boolean G_Responder(event_t * ev)
{
player_t *plr;
- extern boolean MenuActive;
plr = &players[consoleplayer];
if (ev->type == ev_keyup && ev->data1 == key_useartifact)
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -87,7 +87,6 @@
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern boolean MenuActive;
extern boolean askforquit;
// PUBLIC DATA DEFINITIONS -------------------------------------------------
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1080,6 +1080,8 @@
int MN_TextBWidth(const char *text);
extern int messageson;
+extern boolean MenuActive;
+
#include "sounds.h"