mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed inverted listener check when using compatibility options.
This commit is contained in:
parent
3808e85c3e
commit
0a8effaf9e
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ static bool VerifyActorSound(AActor* ent, FSoundID& sound_id, int& channel, ECha
|
|||
|
||||
if ((flags & CHANF_MAYBE_LOCAL) && (compatflags & COMPATF_SILENTPICKUP))
|
||||
{
|
||||
if (soundEngine->isListener(ent))
|
||||
if (!soundEngine->isListener(ent))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue