From bfc8036e7e32f219648a8af2a822b594c8b2b3da Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 18 Jul 2023 17:53:54 +0100 Subject: [PATCH] Use display players for hearing/seeing horns, not local players Matches other local effects, and permits spectators (such as in tournaments) and replay watchers to see the honk. --- src/k_follower.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_follower.c b/src/k_follower.c index 511e81932..b1e4261b0 100644 --- a/src/k_follower.c +++ b/src/k_follower.c @@ -722,7 +722,7 @@ void K_FollowerHornTaunt(player_t *taunter, player_t *victim) || victim == NULL || taunter->followerskin < 0 || taunter->followerskin >= numfollowers - || (P_IsLocalPlayer(victim) == false && cv_karthorns.value != 2) + || (P_IsDisplayPlayer(victim) == false && cv_karthorns.value != 2) || P_MobjWasRemoved(taunter->mo) == true || P_MobjWasRemoved(taunter->follower) == true )