mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Fix issue where playing song of healing to sharp remove the CS trigger. (#366)
This commit is contained in:
@@ -278,7 +278,11 @@ void EnPoComposer_SetupStartedCutscene(EnPoComposer* this) {
|
||||
this->actionFunc = EnPoComposer_StartedCutscene;
|
||||
}
|
||||
|
||||
// #region 2S2H [Port] There is an issue with MSVC where this function is removed in release mode and the check in EnPoComposer_UpdateAction fails.
|
||||
// We need to do something in this function that has a side effect which will cause MSVC to not remove it.
|
||||
// This modification seemed cleaner than `volatile int a = 5`. __declspec(noinlne) did not work.
|
||||
void EnPoComposer_StartedCutscene(EnPoComposer* this, PlayState* play) {
|
||||
sPlayerIsPlayingOcarina = false;
|
||||
}
|
||||
|
||||
void EnPoComposer_SetupPlayCurse(EnPoComposer* this) {
|
||||
|
||||
Reference in New Issue
Block a user