From 0f14f0cec1d42dea9aa49562c0910598347b4b8a Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Mon, 26 Apr 2021 04:09:23 -0400 Subject: [PATCH] Only check for listenmobj for the splitscreen players Steel's comment is what hinted me to compare the code again -- P1 was the only one who didn't care about their listenmobj existing first. --- src/s_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_sound.c b/src/s_sound.c index 8979d1fc9..c4d27e479 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -635,7 +635,7 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume) for (i = r_splitscreen; i >= 0; i--) { // Copy the sound for the splitscreen players! - if (!listenmobj[i]) + if (listenmobj[i] == NULL && i != 0) { continue; }