summaryrefslogtreecommitdiff
path: root/src/files.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-07-16 01:06:55 +0200
committerBardur Arantsson <bardur@scientician.net>2013-08-08 16:33:29 +0200
commitf0fd8edb1fc36fd3dbe3b7df61da91b3daf9d4c6 (patch)
tree038c3f5f1e2fcfccb00ad426fde35cb157eac1dd /src/files.c
parent9e69576b7ebbda9bde3900b36fb081f819dc828a (diff)
Remove auto_notes and take_notes options
We always set them to TRUE now.
Diffstat (limited to 'src/files.c')
-rw-r--r--src/files.c17
1 files changed, 5 insertions, 12 deletions
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);