diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-28 23:41:06 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-29 01:07:35 +0100 |
commit | dcc0ed19d09e205c10bddb627c27520477f126f0 (patch) | |
tree | f9a14537b928c16f535eb21517242db7c180034e /crawl-ref/source/message.cc | |
parent | f6a14d95cd3737dd283c16f87fb9666774fb5aa4 (diff) | |
download | crawl-ref-dcc0ed19d09e205c10bddb627c27520477f126f0.tar.gz crawl-ref-dcc0ed19d09e205c10bddb627c27520477f126f0.zip |
Reverse the order of arguments in mpr_nojoin().
The old one was quite bizarre, inconsistent with mprf().
Only two cases used the default channel (mpr_nojoin() is quite special...),
so I did not add an overload with the default.
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index f5b1f6a4e7..43e4cd8902 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -49,9 +49,9 @@ void mpr(string text) _mpr(text); } -void mpr_nojoin(string text, msg_channel_type channel, int param) +void mpr_nojoin(msg_channel_type channel, string text) { - _mpr(text, channel, param, true); + _mpr(text, channel, 0, true); } void mpr_nocap(string text, msg_channel_type channel, int param, bool nojoin) |