- fixed inverted listener check when using compatibility options.

This commit is contained in:
Christoph Oelckers 2019-12-17 08:49:50 +01:00 committed by drfrag
parent 38aa6c4281
commit 35e38bc8eb

View file

@ -342,7 +342,7 @@ static bool VerifyActorSound(AActor* ent, FSoundID& sound_id, int& channel, ECha
if ((flags & CHANF_MAYBE_LOCAL) && (i_compatflags & COMPATF_SILENTPICKUP))
{
if (soundEngine->isListener(ent))
if (!soundEngine->isListener(ent))
{
return false;
}