mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- fixed inverted listener check when using compatibility options.
This commit is contained in:
parent
38aa6c4281
commit
35e38bc8eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue