summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 17:58:26 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 17:58:26 +0000
commit6b43ac0d8bbf3dadc5c08d6b5a124ceb7460719c (patch)
treeebe664168ea2bb8244f0c0ba990c478487da930c /crawl-ref/source/output.cc
parenta0176994016902b36af4a7f80abebabc45d4bb9f (diff)
downloadcrawl-ref-6b43ac0d8bbf3dadc5c08d6b5a124ceb7460719c.tar.gz
crawl-ref-6b43ac0d8bbf3dadc5c08d6b5a124ceb7460719c.zip
Fixing assert problem due to wherex() inconsistency between tile and console versions.
Removed jpeg's commented out code in the health bar drawing routine, as the reamining code is correct. (Thanks!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4339 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 4979ad8d98..7e0e6ba585 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -112,7 +112,7 @@ class colour_bar
if (cx < disp)
textcolor(BLACK + m_default * 16);
- else if (/*old_val > val &&*/ old_disp > disp && cx < old_disp)
+ else if (old_disp > disp && cx < old_disp)
textcolor(BLACK + m_change_neg * 16);
putch(' ');
#else