mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-18 10:11:11 +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 ((flags & CHANF_MAYBE_LOCAL) && (compatflags & COMPATF_SILENTPICKUP))
|
||||||
{
|
{
|
||||||
if (soundEngine->isListener(ent))
|
if (!soundEngine->isListener(ent))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue