summaryrefslogtreecommitdiff
path: root/src/spells2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells2.c')
-rw-r--r--src/spells2.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/spells2.c b/src/spells2.c
index 924c5b39..d9b53e56 100644
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -7659,13 +7659,7 @@ void change_wild_mode(void)
p_ptr->wild_mode = !p_ptr->wild_mode;
- if (autosave_l)
- {
- is_autosave = TRUE;
- msg_print("Autosaving the game...");
- do_cmd_save_game();
- is_autosave = FALSE;
- }
+ autosave_checkpoint();
/* Leaving */
p_ptr->leaving = TRUE;
@@ -7676,13 +7670,7 @@ void alter_reality(void)
{
msg_print("The world changes!");
- if (autosave_l)
- {
- is_autosave = TRUE;
- msg_print("Autosaving the game...");
- do_cmd_save_game();
- is_autosave = FALSE;
- }
+ autosave_checkpoint();
/* Leaving */
p_ptr->leaving = TRUE;