summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index d5225c6ebe..a382847a27 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -194,9 +194,10 @@ int main( int argc, char *argv[] )
puts("environment options (CRAWL_NAME, CRAWL_PIZZA, CRAWL_DIR, CRAWL_RC).");
puts("");
puts("Highscore list options: (Can now be redirected to more, etc)");
- puts(" -scores [N] highscore list");
- puts(" -tscores [N] terse highscore list");
- puts(" -vscores [N] verbose highscore list");
+ puts(" -scores [N] highscore list");
+ puts(" -tscores [N] terse highscore list");
+ puts(" -vscores [N] verbose highscore list");
+ puts(" -scorefile <filename> scorefile to report on");
exit(1);
}
@@ -212,6 +213,12 @@ int main( int argc, char *argv[] )
hiscores_print_list( Options.sc_entries, Options.sc_format );
exit(0);
}
+ else
+ {
+ // Don't allow scorefile override for actual gameplay, only for
+ // score listings.
+ SysEnv.scorefile.clear();
+ }
bool game_start = initialise();