summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgl-message.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-07 23:51:48 -0500
committerNeil Moore <neil@s-z.org>2014-03-07 23:51:48 -0500
commitc3ea3b707afa11309dfc91b1f994ffc55041be02 (patch)
tree102e7f3a68bdfd465c568070b6822913e8b4d9c5 /crawl-ref/source/dgl-message.cc
parentc20c04649c1b7a875aad18830b5ade77fa8dc339 (diff)
downloadcrawl-ref-c3ea3b707afa11309dfc91b1f994ffc55041be02.tar.gz
crawl-ref-c3ea3b707afa11309dfc91b1f994ffc55041be02.zip
Formatting fixes.
Diffstat (limited to 'crawl-ref/source/dgl-message.cc')
-rw-r--r--crawl-ref/source/dgl-message.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dgl-message.cc b/crawl-ref/source/dgl-message.cc
index 6e3ddb3651..0f4e93432f 100644
--- a/crawl-ref/source/dgl-message.cc
+++ b/crawl-ref/source/dgl-message.cc
@@ -36,8 +36,10 @@ static void _show_message_line(string line)
fs.cprintf("%s", line.c_str());
formatted_mpr(fs, MSGCH_PLAIN, 0);
if (Options.note_dgl_messages)
+ {
take_note(Note(NOTE_MESSAGE, MSGCH_PLAIN, 0,
(sender + ": " + line).c_str()));
+ }
}
}