From 5d2e7a316ea3a752ab2acf5c8fe70985df88a570 Mon Sep 17 00:00:00 2001 From: Arthur <spaddlewit@gmail.com> Date: Sat, 31 Dec 2022 20:26:47 -0500 Subject: [PATCH] Tails's tails copy the player's MF2_SHADOW to fix this bug --- src/p_user.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_user.c b/src/p_user.c index 4ca4e6c8ad..0ef7876416 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -11266,6 +11266,11 @@ static void P_DoTailsOverlay(player_t *player, mobj_t *tails) tails->y = player->mo->y + P_ReturnThrustY(tails, tails->angle, FixedMul(backwards, tails->scale)); tails->z = player->mo->z + zoffs; P_SetThingPosition(tails); + + if (player->mo->flags2 & MF2_SHADOW) + tails->flags2 |= MF2_SHADOW; + else + tails->flags2 &= ~MF2_SHADOW; } // Metal Sonic's jet fume -- GitLab