shithub: choc

Download patch

ref: 4a5f98e801d88c380a1e4bef09cecaf195f606ea
parent: 7279f688d1479104fa77a8750973fd7564727d3a
author: Fabian Greffrath <fabian@greffrath.com>
date: Wed Feb 21 15:49:51 EST 2018

strife: fix type mismatch of spechit[] between p_enemy.c and p_map.c

Thanks to @turol for spotting this, fixes #985

--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -383,9 +383,7 @@
 fixed_t	xspeed[8] = {FRACUNIT,47000,0,-47000,-FRACUNIT,-47000,0,47000};
 fixed_t yspeed[8] = {0,47000,FRACUNIT,47000,0,-47000,-FRACUNIT,-47000};
 
-#define MAXSPECIALCROSS	8
-
-extern	line_t*	spechit[MAXSPECIALCROSS];
+extern	line_t*	spechit[];
 extern	int	numspechit;
 
 boolean P_Move (mobj_t*	actor)