From eb64e4ccd9d196bde0fd1b9da65c940b355d38fa Mon Sep 17 00:00:00 2001
From: toasterbabe <rollerorbital@gmail.com>
Date: Sat, 24 Sep 2016 12:38:37 +0100
Subject: [PATCH] Tightened some restrictions on Tails carry because right now
 the looseness leads to edge case noise spam when trying to pick up a player
 off a rope hang, for example.

---
 src/p_map.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/p_map.c b/src/p_map.c
index 92ed14f578..63ba258f9d 100644
--- a/src/p_map.c
+++ b/src/p_map.c
@@ -302,9 +302,9 @@ static void P_DoTailsCarry(player_t *sonic, player_t *tails)
 	INT32 p;
 	fixed_t zdist; // z distance between the two players' bottoms
 
-	if (tails->powers[pw_carry] == CR_PLAYER)// && tails->mo->tracer == sonic->mo) <-- why was this here?
+	if (tails->powers[pw_carry])// && tails->mo->tracer == sonic->mo) <-- why was this here?
 		return;
-	if (sonic->powers[pw_carry] == CR_PLAYER && sonic->mo->tracer == tails->mo)
+	if (sonic->powers[pw_carry])
 		return;
 
 	if (tails->charability != CA_FLY && tails->charability != CA_SWIM)
@@ -319,9 +319,6 @@ static void P_DoTailsCarry(player_t *sonic, player_t *tails)
 	if (sonic->pflags & PF_NIGHTSMODE)
 		return;
 
-	if (sonic->mo->tracer && sonic->powers[pw_carry] == CR_ZOOMTUBE)
-		return; // don't steal players from zoomtubes!
-
 	if ((sonic->mo->eflags & MFE_VERTICALFLIP) != (tails->mo->eflags & MFE_VERTICALFLIP))
 		return; // Both should be in same gravity
 
-- 
GitLab