CLI option -reseed

This commit is contained in:
Zeno Rogue 2021-02-23 05:33:48 +01:00
parent f1ecf0ecac
commit a8da017676
1 changed files with 4 additions and 0 deletions

View File

@ -863,6 +863,10 @@ int read_cheat_args() {
fixseed = true; autocheat = true;
shift(); startseed = argi();
}
else if(argis("-reseed")) {
PHASEFROM(2);
shift(); shrand(argi());
}
else if(argis("-steplimit")) {
fixseed = true; autocheat = true;
shift(); steplimit = argi();