From f0fd8edb1fc36fd3dbe3b7df61da91b3daf9d4c6 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 16 Jul 2013 01:06:55 +0200 Subject: Remove auto_notes and take_notes options We always set them to TRUE now. --- src/files.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'src/files.c') diff --git a/src/files.c b/src/files.c index 7b1d10ce..cc209524 100644 --- a/src/files.c +++ b/src/files.c @@ -5533,11 +5533,8 @@ void close_game(void) /* Handle retirement */ if (total_winner) { - /* Write a note, if that option is on */ - if (take_notes) - { - add_note_type(NOTE_WINNER); - } + /* Make a note */ + add_note_type(NOTE_WINNER); kingly(); } @@ -5554,8 +5551,7 @@ void close_game(void) /* Show more info */ show_info(); - /* Write a note */ - if (take_notes) + /* Make a note */ { char long_day[30]; char buf[80]; @@ -5585,11 +5581,8 @@ void close_game(void) /* Save the game */ do_cmd_save_game(); - /* If note-taking enabled, write session end to notes file */ - if (take_notes) - { - add_note_type(NOTE_SAVE_GAME); - } + /* Make a note pf session end */ + add_note_type(NOTE_SAVE_GAME); /* Prompt for scores XXX XXX XXX */ prt("Press Return (or Escape).", 0, 40); -- cgit v1.2.3