summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 17:11:01 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 19:02:35 +0100
commit9f8953a178723a00933136e704b7404067fb7c63 (patch)
tree0ad4495fd69cdb8c6daa169b8995eb59fa95b5b7 /crawl-ref/source/view.cc
parente5d02f46f34e0bf1c458880db46f252b8ad0db94 (diff)
downloadcrawl-ref-9f8953a178723a00933136e704b7404067fb7c63.tar.gz
crawl-ref-9f8953a178723a00933136e704b7404067fb7c63.zip
Remove commented out conditionals.
I played around with how the mesmerisation restriction tiles look when only applying to floor and within los (as is the case for ASCII) but I feel that's confusing and misleading in that it completely disregards the possibility of controlled teleport placing you outside your current los and still within sight of the mermaid.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 5d3071c513..7494f55f6d 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -994,11 +994,8 @@ void viewwindow(bool monster_updates, bool show_updates)
}
#ifdef USE_TILE
// Grey out grids that cannot be reached due to beholders.
- else if (/*you.see_cell(gc) && grd(gc) >= DNGN_MINMOVE
- && */you.get_beholder(gc))
- {
+ else if (you.get_beholder(gc))
buffy[bufcount + 1] |= TILE_FLAG_OOR;
- }
#endif
}