summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-05 15:32:14 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-05 15:32:14 +0000
commit8929d6cdc7458d79d4ac46751ac0a4851febcf5e (patch)
treef77e6af14f9a1fd0ab24b425e9cc3aa2fddb4569 /crawl-ref/source/tilereg.cc
parent0d81298cc286304cb4be85ce691c9d40e2f20931 (diff)
downloadcrawl-ref-8929d6cdc7458d79d4ac46751ac0a4851febcf5e.tar.gz
crawl-ref-8929d6cdc7458d79d4ac46751ac0a4851febcf5e.zip
* Replace the range_view_annotator loop with an simple check for the
current range, which if set to a value > 0 will cause viewwindow to colour all grids not in los or not in range to be coloured grey. Has the side effect to also work for Tiles. :) * Change THELM_DESC_JEWELLED to golden, do as to avoid overlap with the randart description. * Make porridge sometimes brown and blood potions sometimes viscous/sedimented. (Yes, these don't really fit but I don't like the fixed descriptions.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9735 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 0e809328b2..32a9cd30d5 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -1198,7 +1198,7 @@ void DungeonRegion::add_text_tag(text_tag_type type, const std::string &tag,
void DungeonRegion::add_overlay(const coord_def &gc, int idx)
{
tile_overlay over;
- over.gc = gc;
+ over.gc = gc;
over.idx = idx;
m_overlays.push_back(over);