diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-15 21:36:59 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-15 23:11:41 +0100 |
commit | c99489055fb52cd6079218675a8b5688b4eb99ee (patch) | |
tree | f160888bceb33bfe7dc76a8861645237d26bb778 /crawl-ref/source/abyss.cc | |
parent | d13f2354db0c50108beccd90aea26ec416e20d07 (diff) | |
download | crawl-ref-c99489055fb52cd6079218675a8b5688b4eb99ee.tar.gz crawl-ref-c99489055fb52cd6079218675a8b5688b4eb99ee.zip |
Remove one version of get_screen_glyph.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index d28f1d4f30..fbed1c9900 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -364,7 +364,7 @@ static int _abyss_rune_nearness() // See above comment about is_terrain_known(). for (radius_iterator ri(you.pos(), LOS_RADIUS); ri; ++ri) { - if (get_screen_glyph(ri->x, ri->y) != ' ') + if (get_screen_glyph(*ri) != ' ') { for (stack_iterator si(*ri); si; ++si) if (is_rune(*si) && si->plus == RUNE_ABYSSAL) |