summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index e4ee95d88e..861b68bb1e 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -81,11 +81,11 @@ static bool _recite_mons_useless(const monsters *mon)
}
// Power is maximum 50.
-static int _recite_to_monsters(int x, int y, int pow, int unused)
+static int _recite_to_monsters(coord_def where, int pow, int unused)
{
UNUSED(unused);
- const int mon = mgrd[x][y];
+ const int mon = mgrd(where);
if (mon == NON_MONSTER)
return (0);