summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index db21884def..fee4dd2417 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -612,7 +612,7 @@ void scorefile_entry::init_with_fields()
uid = fields->int_field("uid");
race = str_to_species(fields->str_field("race"));
- cls = get_class_index_by_name(fields->str_field("cls").c_str());
+ cls = get_class_by_name(fields->str_field("cls").c_str());
lvl = fields->int_field("xl");