summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2014-05-07 14:48:16 -0400
committerelliptic <hyperelliptical@gmail.com>2014-05-07 14:49:47 -0400
commit91e2ab7977f924848dda7a4ef300318f3c551c12 (patch)
treec23ea821037efb3e67b0115891d1b4530053ab3a /crawl-ref/source/hiscores.cc
parent3be555590b9a9e280491bd92a428ffefed8534a4 (diff)
downloadcrawl-ref-91e2ab7977f924848dda7a4ef300318f3c551c12.tar.gz
crawl-ref-91e2ab7977f924848dda7a4ef300318f3c551c12.zip
Remove gold from the score calculation.
It was insignificant after the early game and led to strange behavior for the extremely small subset of games that cared about optimizing early game score (gold acquirement, not purchasing from shops).
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 81bc378b56..bae1a363b8 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1474,8 +1474,7 @@ void scorefile_entry::init(time_t dt)
if (base_score)
{
// sprint games could overflow a 32 bit value
- uint64_t pt = points + min(you.gold, 1000000);
- pt += _award_modified_experience();
+ uint64_t pt = points + _award_modified_experience();
num_runes = runes_in_pack();
num_diff_runes = num_runes;