go.omoves to svo.omoves since it is read from savefile

This commit is contained in:
nhmall
2025-04-16 12:45:32 -04:00
parent 86bfb3e2f9
commit e024cbc57a
4 changed files with 10 additions and 8 deletions

View File

@@ -316,6 +316,7 @@ savegamestate(NHFILE *nhfp)
save_dungeon(nhfp, (boolean) !!perform_bwrite(nhfp),
(boolean) !!release_data(nhfp));
savelevchn(nhfp);
/* svm.moves below will actually be read back into svo.omoves on restore */
if (nhfp->structlevel) {
bwrite(nhfp->fd, (genericptr_t) &svm.moves, sizeof svm.moves);
bwrite(nhfp->fd, (genericptr_t) &svq.quest_status,