summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 571eda7fba..f1aeaccf6e 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1379,11 +1379,11 @@ static bool _jelly_divide(monsters *parent)
child->x = parent->x + jex;
child->y = parent->y + jey;
- mgrd[child->x][child->y] = k;
+ mgrd(child->pos()) = k;
if (!simple_monster_message(parent, " splits in two!"))
{
- if (!silenced(parent->x, parent->y) || !silenced(child->x, child->y))
+ if (!silenced(parent->pos()) || !silenced(child->pos()))
mpr("You hear a squelching noise.", MSGCH_SOUND);
}