mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-14 09:03:00 -07:00
Don't autosave in the Chamber of Sages (#2076)
This commit is contained in:
parent
5d2b794c00
commit
39b80137f6
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue