shithub: choc

Download patch

ref: 875457a85347950cdc3ffca6b01895db1e743c2e
parent: 016554564a92f8e2260681ce12783b4c90a52d23
author: Turo Lamminen <turol@iki.fi>
date: Tue Oct 11 08:01:13 EDT 2022

heretic: Move KeyPoints declaration to am_map.h

--- a/src/heretic/am_map.h
+++ b/src/heretic/am_map.h
@@ -114,6 +114,7 @@
 
 
 extern boolean automapactive;
+extern vertex_t KeyPoints[];
 
 
 #endif
--- a/src/heretic/p_inter.c
+++ b/src/heretic/p_inter.c
@@ -319,7 +319,6 @@
 void P_GiveKey(player_t * player, keytype_t key)
 {
     extern int playerkeys;
-    extern vertex_t KeyPoints[];
 
     if (player->keys[key])
     {