summaryrefslogtreecommitdiff
path: root/StormLib/src/SFileListFile.cpp
diff options
context:
space:
mode:
authorAutoJanitor <crypteauxcajun@gmail.com>2026-07-05 10:32:34 -0500
committerGitHub <noreply@github.com>2026-07-05 15:32:34 +0000
commit8602c6d1540f50f4f8a99b52e92373c0dde08999 (patch)
tree74700fae75e0d053e201179837450955cd0e08cc /StormLib/src/SFileListFile.cpp
parentb7b565aaf0e65af01f5840000edcde5f8cdbf5e4 (diff)
fix: restore BGM after Stalfos group defeat in MQ Water Temple (#6408)
In EnTest_Destroy, the check for nearby Stalfos uses Actor_FindNearby which includes killed actors (update == NULL) still in the linked list. When multiple Stalfos die in the same frame or in quick succession, the last one to be destroyed still sees the others in the actor list and skips the BGM restore call (func_800F5B58). Replace Actor_FindNearby with a custom check that only counts living actors (update != NULL). This ensures the miniboss BGM is properly restored to the dungeon theme when the last Stalfos in a group is defeated. Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
Diffstat (limited to 'StormLib/src/SFileListFile.cpp')
0 files changed, 0 insertions, 0 deletions