summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-15 21:36:59 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-15 23:11:41 +0100
commitc99489055fb52cd6079218675a8b5688b4eb99ee (patch)
treef160888bceb33bfe7dc76a8861645237d26bb778 /crawl-ref/source/view.cc
parentd13f2354db0c50108beccd90aea26ec416e20d07 (diff)
downloadcrawl-ref-c99489055fb52cd6079218675a8b5688b4eb99ee.tar.gz
crawl-ref-c99489055fb52cd6079218675a8b5688b4eb99ee.zip
Remove one version of get_screen_glyph.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 562d1d8498..72f8f2c4cf 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -492,9 +492,9 @@ std::string screenshot(bool fullscreen)
int ch =
(!map_bounds(gc)) ? 0 :
- (!crawl_view.in_grid_los(gc)) ? get_map_knowledge_char(gc.x, gc.y) :
+ (!crawl_view.in_grid_los(gc)) ? get_map_knowledge_char(gc) :
(gc == you.pos()) ? you.symbol
- : get_screen_glyph(gc.x, gc.y);
+ : get_screen_glyph(gc);
if (ch && !isprint(ch))
{