- removed unneeded check for 'listenactor' in S_UpdateSounds.

This commit is contained in:
Christoph Oelckers 2016-01-27 09:56:40 +01:00
parent d2beec4585
commit f2666f70dd

View file

@ -1917,8 +1917,6 @@ void S_UpdateSounds (AActor *listenactor)
S_ActivatePlayList(false); S_ActivatePlayList(false);
} }
if (listenactor != NULL)
{
// should never happen // should never happen
S_SetListener(listener, listenactor); S_SetListener(listener, listenactor);
@ -1944,7 +1942,6 @@ void S_UpdateSounds (AActor *listenactor)
S_RestoreEvictedChannels(); S_RestoreEvictedChannels();
} }
} }
}
//========================================================================== //==========================================================================
// //