Don't autosave in the Chamber of Sages (#2076)
This commit is contained in:
@@ -2632,7 +2632,7 @@ u8 Item_CheckObtainability(u8 item) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PerformAutosave(PlayState* play, u8 item) {
|
void PerformAutosave(PlayState* play, u8 item) {
|
||||||
if (CVar_GetS32("gAutosave", 0)) {
|
if (CVar_GetS32("gAutosave", 0) && (play->sceneNum != SCENE_KENJYANOMA)) {
|
||||||
if (CVar_GetS32("gAutosaveAllItems", 0)) {
|
if (CVar_GetS32("gAutosaveAllItems", 0)) {
|
||||||
Play_PerformSave(play);
|
Play_PerformSave(play);
|
||||||
} else if (CVar_GetS32("gAutosaveMajorItems", 1)) {
|
} else if (CVar_GetS32("gAutosaveMajorItems", 1)) {
|
||||||
|
|||||||
@@ -852,7 +852,7 @@ void Play_Update(PlayState* play) {
|
|||||||
// Don't autosave in grottos or cutscenes
|
// Don't autosave in grottos or cutscenes
|
||||||
// Also don't save when you first load a file
|
// Also don't save when you first load a file
|
||||||
if (CVar_GetS32("gAutosave", 0) && (gSaveContext.cutsceneIndex == 0) && (play->gameplayFrames > 60) &&
|
if (CVar_GetS32("gAutosave", 0) && (gSaveContext.cutsceneIndex == 0) && (play->gameplayFrames > 60) &&
|
||||||
(play->sceneNum != SCENE_YOUSEI_IZUMI_TATE) && (play->sceneNum != SCENE_KAKUSIANA)) {
|
(play->sceneNum != SCENE_YOUSEI_IZUMI_TATE) && (play->sceneNum != SCENE_KAKUSIANA) && (play->sceneNum != SCENE_KENJYANOMA)) {
|
||||||
Play_PerformSave(play);
|
Play_PerformSave(play);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user