summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-12-15 17:33:52 -0600
committerJesse Luehrs <doy@tozt.net>2009-12-16 00:14:40 -0600
commit5d66ced3af630a94100a50f71224f6c7d1b2ef83 (patch)
treefb6c6ebe98af2cf506877d85026a15d606b3321f /crawl-ref/source/output.cc
parenteb57a1698ab651071a136b82ffee4f3e1f7bc073 (diff)
downloadcrawl-ref-5d66ced3af630a94100a50f71224f6c7d1b2ef83.tar.gz
crawl-ref-5d66ced3af630a94100a50f71224f6c7d1b2ef83.zip
Revert "Remove hard skill pool cutoff."
This reverts commit c652cbec1739a628f87aedc4874c782429f8d7ce. This really needs more discussion; the current implementation isn't reallly reasonable
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);