shithub: choc

Download patch

ref: 7c85545f0883fa1d2446f59eb404b3d6a2811ac5
parent: 13a26589a3f292ef3f6dce941de68ea7b33746b0
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 13:17:37 EDT 2022

heretic: Move curpos extern declaration to doomdef.h

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -814,6 +814,7 @@
 
 
 extern boolean inventory;
+extern int curpos;
 
 
 void SB_Init(void);
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -279,7 +279,6 @@
 ====================
 */
 
-extern int curpos;
 extern int inv_ptr;
 
 boolean usearti = true;
--- a/src/heretic/p_user.c
+++ b/src/heretic/p_user.c
@@ -306,7 +306,6 @@
 
 #define         ANG5    (ANG90/18)
 extern int inv_ptr;
-extern int curpos;
 
 void P_DeathThink(player_t * player)
 {