diff options
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r-- | crawl-ref/source/state.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc index ae00ab869a..2a94b2783f 100644 --- a/crawl-ref/source/state.cc +++ b/crawl-ref/source/state.cc @@ -196,8 +196,8 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai, fs.cprintf("%s (", mon->name(DESC_PLAIN, true).c_str()); fs.add_glyph( mon ); fs.cprintf(") in view: (%d,%d), see_grid: %s", - mon->x, mon->y, - see_grid(mon->x, mon->y)? "yes" : "no"); + mon->pos().x, mon->pos().y, + see_grid(mon->pos())? "yes" : "no"); formatted_mpr(fs, MSGCH_WARN); #endif |