shithub: choc

Download patch

ref: 6b5982fa5dd25697e4cb42aff13551bb98a61eab
parent: d092eff41d8e3a34563e76c5c3e69256da800373
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 14:24:08 EDT 2022

heretic: Move topslope and bottomslope extern declarations to p_local.h

--- a/src/heretic/p_local.h
+++ b/src/heretic/p_local.h
@@ -225,6 +225,9 @@
 boolean P_TryMove(mobj_t * thing, fixed_t x, fixed_t y);
 boolean P_TeleportMove(mobj_t * thing, fixed_t x, fixed_t y);
 void P_SlideMove(mobj_t * mo);
+
+extern fixed_t topslope, bottomslope;   // slopes to top and bottom of target
+
 boolean P_CheckSight(mobj_t * t1, mobj_t * t2);
 void P_UseLines(player_t * player);
 
--- a/src/heretic/p_map.c
+++ b/src/heretic/p_map.c
@@ -1167,7 +1167,6 @@
 
 fixed_t aimslope;
 
-extern fixed_t topslope, bottomslope;   // slopes to top and bottom of target
 
 /*
 ===============================================================================