Add MAX_STATUENAME_RANK sysconf setting

MAX_STATUENAME_RANK tells how many score file entries to use
for random statue names.
This commit is contained in:
Pasi Kallinen
2015-03-17 18:47:24 +02:00
parent 21cce7fbe6
commit 36995448fb
6 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -975,7 +975,7 @@ struct obj *otmp;
}
tt = &tt_buf;
rank = rnd(10);
rank = rnd(sysopt.tt_oname_maxrank);
pickentry:
for(i = rank; i; i--) {
readentry(rfile, tt);