summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 8677a17473..a034c7f3e2 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -82,10 +82,10 @@ int tile_unseen_flag(const coord_def& gc)
{
if (!map_bounds(gc))
return TILE_FLAG_UNSEEN;
- else if (is_terrain_known(gc.x,gc.y)
- && !is_terrain_seen(gc.x,gc.y)
- || is_envmap_detected_item(gc.x,gc.y)
- || is_envmap_detected_mons(gc.x,gc.y))
+ else if (is_terrain_known(gc)
+ && !is_terrain_seen(gc)
+ || is_envmap_detected_item(gc)
+ || is_envmap_detected_mons(gc))
{
return TILE_FLAG_MM_UNSEEN;
}