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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user