mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 21:27:58 +03:00
Exclude debug file and cutscene map from auto save (#5088)
* Exclude debug file and cutscene map from auto save * Remove ganon's lair from auto save exclusion
This commit is contained in:
parent
f023a46a5d
commit
5fcdf74f5c
1 changed files with 4 additions and 4 deletions
|
@ -24,11 +24,11 @@ typedef enum {
|
|||
|
||||
bool Autosave_CanSave() {
|
||||
|
||||
// Don't save when in title screen
|
||||
// Don't save when in title screen or debug file
|
||||
// Don't save the first 60 frames to not save the magic meter when it's still in the animation of filling it.
|
||||
// Don't save in Ganon's fight and chamber of sages because of master sword and remember save location issues.
|
||||
if (!GameInteractor::IsSaveLoaded(true) || gPlayState->gameplayFrames < 60 ||
|
||||
gPlayState->sceneNum == SCENE_GANON_BOSS || gPlayState->sceneNum == SCENE_CHAMBER_OF_THE_SAGES) {
|
||||
// Don't save in Chamber of Sages and the Cutscene map because of remember save location and cutscene item gives.
|
||||
if (!GameInteractor::IsSaveLoaded(false) || gPlayState->gameplayFrames < 60 ||
|
||||
gPlayState->sceneNum == SCENE_CHAMBER_OF_THE_SAGES || gPlayState->sceneNum == SCENE_CUTSCENE_MAP) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue