Fix Door of Time collision when skipping cutscene (#4734)
This commit is contained in:
@@ -551,6 +551,7 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
|
|||||||
case VB_PLAY_DOOR_OF_TIME_CS: {
|
case VB_PLAY_DOOR_OF_TIME_CS: {
|
||||||
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO)) {
|
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO)) {
|
||||||
*should = false;
|
*should = false;
|
||||||
|
Flags_SetEventChkInf(EVENTCHKINF_OPENED_THE_DOOR_OF_TIME);
|
||||||
Flags_SetEnv(gPlayState, 2);
|
Flags_SetEnv(gPlayState, 2);
|
||||||
Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME);
|
Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user