about summary refs log tree commit diff stats
path: root/Source/Randomizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r--Source/Randomizer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 3078b22..baae8c3 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp
@@ -7,7 +7,6 @@
7 7
8 * Speed up *everything* ? Or maybe we'll just stop using this setting entirely. 8 * Speed up *everything* ? Or maybe we'll just stop using this setting entirely.
9 9
10 * Disable "power off on fail" for challenge
11 * Add setting for "Don't reset the challenge seed on new challenge" 10 * Add setting for "Don't reset the challenge seed on new challenge"
12 * Don't rerandomize anything outside of challenge on re-click 11 * Don't rerandomize anything outside of challenge on re-click
13 * Change re-randomization prevention? 12 * Change re-randomization prevention?
@@ -234,6 +233,9 @@ void Randomizer::RandomizeMountain() {
234 233
235void Randomizer::RandomizeChallenge() { 234void Randomizer::RandomizeChallenge() {
236 ChallengeRandomizer cr(_memory, Random::RandInt(1, 0x7FFFFFFF)); // 0 will trigger an "RNG not initialized" block 235 ChallengeRandomizer cr(_memory, Random::RandInt(1, 0x7FFFFFFF)); // 0 will trigger an "RNG not initialized" block
236 for (int panel : challengePanels) {
237 _memory->WritePanelData<int>(panel, POWER_OFF_ON_FAIL, {0});
238 }
237} 239}
238 240
239void Randomizer::RandomizeAudioLogs() { 241void Randomizer::RandomizeAudioLogs() {