foxygit / doom Log in
commit 6a201b131011d2ed802a3a4f0aee8588c595b302
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 12:24:53 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Thu Nov 3 10:18:40 2022 +0200

    doom: Move chat_on extern declaration to hu_stuff.h
---
 src/doom/hu_stuff.h | 2 ++
 src/doom/m_menu.c   | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/doom/hu_stuff.h b/src/doom/hu_stuff.h
index f2386063..c5757af6 100644
--- a/src/doom/hu_stuff.h
+++ b/src/doom/hu_stuff.h
@@ -61,6 +61,8 @@ extern patch_t *hu_font[HU_FONTSIZE];

 extern boolean message_dontfuckwithme;

+extern boolean chat_on;
+

 #endif

diff --git a/src/doom/m_menu.c b/src/doom/m_menu.c
index 42a72054..baf01e33 100644
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -61,8 +61,6 @@
 #include "m_menu.h"


-extern boolean		chat_on;		// in heads-up code
-
 //
 // defaulted values
 //