place the sound_exit_nhsound() calls

This commit is contained in:
nhmall
2023-01-22 19:02:37 -05:00
parent 2da828324f
commit 3803a711bd
3 changed files with 15 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ dosave(void)
#endif
if (dosave0()) {
u.uhp = -1; /* universal game's over indicator */
if (soundprocs.sound_exit_nhsound)
(*soundprocs.sound_exit_nhsound)("dosave");
/* make sure they see the Saving message */
display_nhwindow(WIN_MESSAGE, TRUE);
exit_nhwindows("Be seeing you...");