shithub: choc

Download patch

ref: 49b3b267882da787cb5cb580f5b247f1e4798a74
parent: 507b573ae1eabdc5bb457ccb3619dfd5aba03828
author: Turo Lamminen <[email protected]>
date: Sat Sep 17 13:32:38 EDT 2022

strife: Move nickname extern declaration to d_main.h

--- a/src/strife/d_main.h
+++ b/src/strife/d_main.h
@@ -56,6 +56,9 @@
 extern  boolean         workparm;       // villsa [STRIFE]
 extern boolean advancedemo;
 
+// haleyjd 20130915 [STRIFE]: need nickname
+extern char *nickname;
+
 
 #endif
 
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -95,9 +95,6 @@
 
 static boolean          headsupactive = false;
 
-// haleyjd 20130915 [STRIFE]: need nickname
-extern char *nickname;
-
 // haleyjd 20130915 [STRIFE]: true if setting nickname
 static boolean hu_setting_name = false;