diff options
author | Neil Moore <neil@s-z.org> | 2014-06-19 04:08:15 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-06-19 04:08:15 -0400 |
commit | 27631af434b43af96410ca8bd6a8ac1ff31d0084 (patch) | |
tree | 56363c6c27a5316d355c23f0ea3eb9df2149d532 /crawl-ref/source/traps.cc | |
parent | d15dadc4ff1ff93b879ee7825aacf3146055ed64 (diff) | |
download | crawl-ref-27631af434b43af96410ca8bd6a8ac1ff31d0084.tar.gz crawl-ref-27631af434b43af96410ca8bd6a8ac1ff31d0084.zip |
Add braces.
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r-- | crawl-ref/source/traps.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index f093c59882..84136bcc1a 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -633,15 +633,19 @@ void trap_def::trigger(actor& triggerer, bool flat_footed) if (silenced(pos)) { if (you_know && in_sight) + { mprf("%s vibrates slightly, failing to make a sound.", name(DESC_THE).c_str()); + } } else { string msg; if (you_trigger) + { msg = make_stringf("%s emits a blaring wail!", name(DESC_THE).c_str()); + } else { string dir = _direction_string(pos, !in_sight); |