ref: 0f37f09a822154081f2136e400ed08f393213438
parent: 7c85545f0883fa1d2446f59eb404b3d6a2811ac5
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 13:20:04 EDT 2022
heretic: Move inv_ptr extern declaration to doomdef.h
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -815,6 +815,7 @@
extern boolean inventory;
extern int curpos;
+extern int inv_ptr;
void SB_Init(void);
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -279,7 +279,6 @@
====================
*/
-extern int inv_ptr;
boolean usearti = true;
--- a/src/heretic/p_user.c
+++ b/src/heretic/p_user.c
@@ -305,7 +305,6 @@
*/
#define ANG5 (ANG90/18)
-extern int inv_ptr;
void P_DeathThink(player_t * player)
{