diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-01 22:01:25 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-01 22:01:25 +0000 |
commit | 5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e (patch) | |
tree | 44faa5eb68a8ee0a892ae506b0888417dc70cee2 /crawl-ref/source/hiscores.cc | |
parent | 0093b92f3f8bca2c89b9808fb27f223d857e6718 (diff) | |
download | crawl-ref-5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e.tar.gz crawl-ref-5480f286fa2ed4a7b90cf65e5a3bc203b27c7d0e.zip |
Nemelex abandonment now shuffles and unmarks all decks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2962 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index dd06f0a0c7..cf3ef6ee47 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -690,7 +690,8 @@ void scorefile_entry::set_base_xlog_fields() const // Don't write No God to save some space. if (god != -1) - fields->add_field("god", "%s", god == GOD_NO_GOD? "" : god_name(god)); + fields->add_field("god", "%s", god == GOD_NO_GOD? "" : + god_name(god).c_str()); if (wiz_mode) fields->add_field("wiz", "%d", wiz_mode); @@ -1292,7 +1293,7 @@ scorefile_entry::character_description(death_desc_verbosity verbosity) const (piety >= 50) ? "a Believer" : (piety >= 30) ? "a Follower" : "an Initiate", - god_name( god ), + god_name(god).c_str(), (penance > 0) ? " (penitent)." : "." ); desc += scratch; |