diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-08-27 21:56:38 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-08-27 22:28:51 +0200 |
commit | 1aa606312f6c2173b1aaf079aa2bd7c3051a8f1c (patch) | |
tree | c2edeff4b4e7a9fc246b26aca4345535368a9b73 /crawl-ref/source/l_debug.cc | |
parent | 75ea027c7664e6c3c8bfb55aa137e06c62a82f11 (diff) | |
download | crawl-ref-1aa606312f6c2173b1aaf079aa2bd7c3051a8f1c.tar.gz crawl-ref-1aa606312f6c2173b1aaf079aa2bd7c3051a8f1c.zip |
Allow the bot to disable checkpoint saves on newarea shifts.
Restarting from such a save would reset the random seed, while the first run
had a random generator hold a different state.
This doesn't handle real level transition (ie, the initial banishment and
being thrown deeper into the Abyss). That's doable if we would inhibit the
commit somehow, but for now, I don't care much about those 5000 turns.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r-- | crawl-ref/source/l_debug.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc index 52c33ef935..9611188d02 100644 --- a/crawl-ref/source/l_debug.cc +++ b/crawl-ref/source/l_debug.cc @@ -337,6 +337,7 @@ static const char* disablements[] = "confirmations", "afflictions", "mon_sight", + "save_checkpoints", }; LUAFN(debug_disable) |