summaryrefslogtreecommitdiff
path: root/src/cmd4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd4.c')
-rw-r--r--src/cmd4.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/cmd4.c b/src/cmd4.c
index e9db67d5..da606cc6 100644
--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -2788,16 +2788,8 @@ void do_cmd_note(void)
/* Ignore empty notes */
if (!buf[0] || (buf[0] == ' ')) return;
- if (take_notes)
- {
- /* Add note to file */
- add_note(buf, ' ');
- }
- else
- {
- /* Add note to message recall */
- msg_format("Note: %s", buf);
- }
+ /* Add note to file */
+ add_note(buf, ' ');
}
@@ -4270,7 +4262,7 @@ void do_cmd_knowledge(void)
prt("(9) Display current fates", 12, 5);
prt("(0) Display known traps", 13, 5);
prt("(A) Display known dungeon towns", 14, 5);
- if (take_notes) prt("(B) Display notes", 15, 5);
+ prt("(B) Display notes", 15, 5);
/* Prompt */
prt("Command: ", 17, 0);
@@ -4376,8 +4368,7 @@ void do_cmd_knowledge(void)
case 'B':
case 'b':
{
- if (take_notes) do_cmd_knowledge_notes();
- else bell();
+ do_cmd_knowledge_notes();
break;
}