summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/s_sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index b06a8d4b..438d4679 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -669,7 +669,7 @@ void S_UpdateSounds(mobj_t * listener)
Channel[i].sound_id = 0;
}
if (Channel[i].mo == NULL || Channel[i].sound_id == 0
- || Channel[i].mo == listener)
+ || Channel[i].mo == listener || listener == NULL)
{
continue;
}