diff options
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index c833723649..667820f90e 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -848,9 +848,10 @@ static bool _need_stats_printed() static short _get_exp_pool_colour(int pool) { - if (pool < MAX_EXP_POOL/2) + int cutoff = you.exp_pool_cutoff(); + if (pool < cutoff*3/4) return (HUD_VALUE_COLOUR); - else if (pool < MAX_EXP_POOL*3/4) + else if (pool < cutoff) return (YELLOW); else return (RED); |