mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-03-03 02:01:47 -05:00
Don't autosave in the Chamber of Sages (#2076)
This commit is contained in:
parent
5d2b794c00
commit
39b80137f6
@ -2632,7 +2632,7 @@ u8 Item_CheckObtainability(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)) {
|
||||
Play_PerformSave(play);
|
||||
} else if (CVar_GetS32("gAutosaveMajorItems", 1)) {
|
||||
|
@ -852,7 +852,7 @@ void Play_Update(PlayState* play) {
|
||||
// Don't autosave in grottos or cutscenes
|
||||
// Also don't save when you first load a file
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user