summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-07 16:44:30 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-07 16:45:50 -0500
commite155ef1258adcc681c2d7430726b100ceb1f477e (patch)
treea277fe3eab534933ce9cf7448a4c507ed616f9ea /crawl-ref/source/tilepick.cc
parentf4fae4b5632df892e9e28f865d24acbd631c62e1 (diff)
downloadcrawl-ref-e155ef1258adcc681c2d7430726b100ceb1f477e.tar.gz
crawl-ref-e155ef1258adcc681c2d7430726b100ceb1f477e.zip
Fix the floor not getting drawin in tiles.
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index e2da8c8343..ff8af3482d 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -4535,7 +4535,7 @@ void tile_draw_floor()
const coord_def gc = show2grid(ep);
int bg = TILE_DNGN_UNSEEN | tile_unseen_flag(gc);
- if (observe_cell(ep))
+ if (observe_cell(gc))
{
dungeon_feature_type feat = grid_appearance(gc);
bg = tileidx_feature(feat, gc.x, gc.y);