diff options
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 0edc00cb39..8cd082be50 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -2824,7 +2824,7 @@ static int _xom_player_confusion_effect(int sever, bool debug = false) if (!_xom_feels_nasty()) { // Don't confuse the player if standing next to lava or deep water. - for (adjacent_iterator ai; ai; ++ai) + for (adjacent_iterator ai(you.pos()); ai; ++ai) if (in_bounds(*ai) && is_feat_dangerous(grd(*ai))) return (XOM_DID_NOTHING); } |