shithub: choc

Download patch

ref: 08be6bdec6c3c0d1bf33a52bd9d2d193b2e4e1bc
parent: 1af3061a6abb9586641be1f4a20b485662a3b36f
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 14:59:58 EDT 2022

hexen: Move LeaveMap extern declaration to h2def.h

--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -814,6 +814,10 @@
 
 void G_ScreenShot(void);
 
+
+extern int LeaveMap;
+
+
 //-------
 //SV_SAVE
 //-------
--- a/src/hexen/in_lude.c
+++ b/src/hexen/in_lude.c
@@ -174,8 +174,6 @@
     int msgSize;
     int msgLump;
 
-    extern int LeaveMap;
-
     if (!deathmatch)
     {
         gametype = SINGLE;