summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index 32360e6477..49ab2b229f 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -674,7 +674,7 @@ static void base_mpr(const char *inf, msg_channel_type channel, int param)
if (colour == MSGCOL_MUTED)
return;
- if (silenced(you.x_pos, you.y_pos)
+ if (silenced(you.pos())
&& (channel == MSGCH_SOUND || channel == MSGCH_TALK))
{
return;