summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Longstaff <JordanLongstaff@users.noreply.github.com>2024-12-21 09:47:37 -0500
committerGitHub <noreply@github.com>2024-12-21 07:47:37 -0700
commitc5923fafcfcd87425bdf737be85cb201f68ead95 (patch)
tree1994d91eecad745727b355c94237a902cddefe31
parentdd11751b43894fc51772393825f6971eaa38b773 (diff)
Fix Door of Time collision when skipping cutscene (#4734)
-rw-r--r--soh/soh/Enhancements/timesaver_hook_handlers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/soh/Enhancements/timesaver_hook_handlers.cpp b/soh/soh/Enhancements/timesaver_hook_handlers.cpp
index 48527f802..cf93ae27d 100644
--- a/soh/soh/Enhancements/timesaver_hook_handlers.cpp
+++ b/soh/soh/Enhancements/timesaver_hook_handlers.cpp
@@ -551,6 +551,7 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
case VB_PLAY_DOOR_OF_TIME_CS: {
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO)) {
*should = false;
+ Flags_SetEventChkInf(EVENTCHKINF_OPENED_THE_DOOR_OF_TIME);
Flags_SetEnv(gPlayState, 2);
Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME);
}