summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-31 17:08:03 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-31 17:08:03 +0000
commit76873419df3580e39a3d39529aacf95e0c03b5e9 (patch)
tree55a35c18b7181d236c75f04a23d4af3369c5da40 /crawl-ref/source
parent5a57868f953e1a923775aadb23934a09eff85bb4 (diff)
downloadcrawl-ref-76873419df3580e39a3d39529aacf95e0c03b5e9.tar.gz
crawl-ref-76873419df3580e39a3d39529aacf95e0c03b5e9.zip
Fix bogus gold numbers being written to logfile (oops)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10470 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/hiscores.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 1748581bd4..baf1756296 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -524,6 +524,9 @@ void scorefile_entry::init_from(const scorefile_entry &se)
num_runes = se.num_runes;
kills = se.kills;
maxed_skills = se.maxed_skills;
+ gold = se.gold;
+ gold_spent = se.gold_spent;
+ gold_found = se.gold_found;
}
bool scorefile_entry::parse(const std::string &line)