summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-29 21:13:01 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:28 -0600
commit7cbce10c7daa9b2ed096c3cbda4c386b0676f6c9 (patch)
tree3d7a80d9a4e86a271d6114c0c2dd06b6e19999cf /crawl-ref/source/status.cc
parent6ce18258524856eb07d9d26a6c1687cacad68e67 (diff)
downloadcrawl-ref-7cbce10c7daa9b2ed096c3cbda4c386b0676f6c9.tar.gz
crawl-ref-7cbce10c7daa9b2ed096c3cbda4c386b0676f6c9.zip
Fix contam light for TAG_MAJOR_VERSION > 34.
Diffstat (limited to 'crawl-ref/source/status.cc')
-rw-r--r--crawl-ref/source/status.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index ef1ab42ff7..858459c3a0 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -814,12 +814,10 @@ static void _describe_glow(status_info* inf)
inf->light_colour = DARKGREY;
if (cont > 1)
inf->light_colour = _bad_ench_colour(cont, 3, 4);
- if (cont > 1
#if TAG_MAJOR_VERSION == 34
- || you.species != SP_DJINNI
+ if (cont > 1 || you.species != SP_DJINNI)
#endif
- )
- inf->light_text = "Contam";
+ inf->light_text = "Contam";
}
if (cont > 0)