summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2023-03-06 23:39:08 -0500
committerGitHub <noreply@github.com>2023-03-06 23:39:08 -0500
commiteb28d114cd1dc4418507f0ee75fa3861979b4d7f (patch)
treebe68d24649e20cd82984db81421864d5b2ed9bb8 /soh/src/code
parentdbcc6b4818c9c23791effd2787fa5b180a8d7542 (diff)
parent5d323439193f650b2c9b033fe4769706eb032ec8 (diff)
khan -> dev
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_play.c b/soh/src/code/z_play.c
index 981f5b975..418eff501 100644
--- a/soh/src/code/z_play.c
+++ b/soh/src/code/z_play.c
@@ -874,7 +874,7 @@ void Play_Update(PlayState* play) {
// Also don't save when you first load a file to prevent consumables like magic from being lost
// Also don't save if there's a pending shop sale to prevent getting the item for a discount!
if ((CVarGetInteger("gAutosave", 0) >= 1) && (CVarGetInteger("gAutosave", 0) <= 3) &&
- (gSaveContext.cutsceneIndex == 0) && (play->gameplayFrames > 60) && (gSaveContext.pendingSale == ITEM_NONE) &&
+ (gSaveContext.cutsceneIndex < 0xFFF0) && (play->gameplayFrames > 60) && (gSaveContext.pendingSale == ITEM_NONE) &&
(play->sceneNum != SCENE_YOUSEI_IZUMI_TATE) && (play->sceneNum != SCENE_KAKUSIANA) && (play->sceneNum != SCENE_KENJYANOMA)) {
Play_PerformSave(play);
}