summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 6513cc0b17..ccad9bd3d9 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -848,10 +848,9 @@ static bool _need_stats_printed()
static short _get_exp_pool_colour(int pool)
{
- int cutoff = you.exp_pool_cutoff();
- if (pool < cutoff*3/4)
+ if (pool < MAX_EXP_POOL/2)
return (HUD_VALUE_COLOUR);
- else if (pool < cutoff)
+ else if (pool < MAX_EXP_POOL*3/4)
return (YELLOW);
else
return (RED);