From a8da017676583c14d61f54a09c7d88c287014f30 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 23 Feb 2021 05:33:48 +0100 Subject: [PATCH] CLI option -reseed --- debug.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debug.cpp b/debug.cpp index 97b9feb2..b1a117af 100644 --- a/debug.cpp +++ b/debug.cpp @@ -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();