summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mon-behv.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 672a5d06cc..f792b48fcd 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -39,9 +39,6 @@ static void _check_lava_water_in_sight()
you.lava_in_sight = you.water_in_sight = 0;
for (radius_iterator ri(you.pos(), LOS_RADIUS); ri; ++ri)
{
- // XXX: remove explicit coordinate translation.
- const coord_def ep = *ri - you.pos() + coord_def(ENV_SHOW_OFFSET,
- ENV_SHOW_OFFSET);
const dungeon_feature_type feat = grd(*ri);
if (feat == DNGN_LAVA)
{