mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
skip disabled sound
This commit is contained in:
parent
d8cbb74284
commit
006a914b8a
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ void ActorAccessibility_RunAccessibilityForActor(PlayState* play, AccessibleActo
|
|||
|
||||
if (actor->policy.callback != nullptr) {
|
||||
actor->policy.callback(actor);
|
||||
} else {
|
||||
} else if (actor->policy.sound != 0) {
|
||||
ActorAccessibility_PlaySoundForActor(actor, 0, actor->policy.sound);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue