summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-03 02:00:16 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-03 02:00:16 -0400
commit607855aec80ea4fe29d31bce41ddac70a1d6a468 (patch)
tree1d8379236d87adb691dfc5252d682277aa09c9f6 /crawl-ref/source/hiscores.cc
parentcb4b6e118dc6ff279597e484c3415fc68ab7bd6f (diff)
downloadcrawl-ref-607855aec80ea4fe29d31bce41ddac70a1d6a468.tar.gz
crawl-ref-607855aec80ea4fe29d31bce41ddac70a1d6a468.zip
stop hardcoding 10 here, so we actually see our score (1854)
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 07626ace71..03ad435328 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -284,7 +284,7 @@ void hiscores_print_list(int display_count, int format)
textcolor(LIGHTGREY);
- int start = (newest_entry > 10) ? newest_entry - 10 : 0;
+ int start = newest_entry - display_count / 2;
if (start + display_count > total_entries)
start = total_entries - display_count;