1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-18 05:44:53 +00:00

Introduce Mutebehavior Flags (#1304)

* Add muteBehavior flags

* touchup

* Adjust comment
This commit is contained in:
engineer124 2022-07-04 12:00:29 -04:00 committed by GitHub
parent f2d4c3b10b
commit 8778bf09b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 10 deletions

View file

@ -264,8 +264,8 @@ void func_800E5584(AudioCmd* cmd) {
NoteSubEu* subEu = &note->noteSubEu;
if (subEu->bitField0.enabled && note->playbackState.unk_04 == 0) {
if (note->playbackState.parentLayer->channel->muteBehavior & 8) {
subEu->bitField0.finished = 1;
if (note->playbackState.parentLayer->channel->muteBehavior & MUTE_BEHAVIOR_3) {
subEu->bitField0.finished = true;
}
}
}