summaryrefslogtreecommitdiff
path: root/mm/2s2h/DeveloperTools/SaveEditor.cpp
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-11-12 10:01:16 -0500
committerGitHub <noreply@github.com>2024-11-12 10:01:16 -0500
commitfab43404618c41b244f9a2b4a5336442748ac130 (patch)
tree2c641f3e680b433ecf4ac714aa0af97122820405 /mm/2s2h/DeveloperTools/SaveEditor.cpp
parentb7a607b765eae47b638180cbbd2ea5310bec312b (diff)
Various fixes for spelling and save editor time change lightning state (#841)
* Set lightning off when changing save time * various typo fixes
Diffstat (limited to 'mm/2s2h/DeveloperTools/SaveEditor.cpp')
-rw-r--r--mm/2s2h/DeveloperTools/SaveEditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/DeveloperTools/SaveEditor.cpp b/mm/2s2h/DeveloperTools/SaveEditor.cpp
index 1024b2028..40e0a0062 100644
--- a/mm/2s2h/DeveloperTools/SaveEditor.cpp
+++ b/mm/2s2h/DeveloperTools/SaveEditor.cpp
@@ -175,7 +175,7 @@ void UpdateGameTime(u16 gameTime) {
// Clear weather from day 2
gWeatherMode = WEATHER_MODE_CLEAR;
- gPlayState->envCtx.lightningState = LIGHTNING_LAST;
+ gPlayState->envCtx.lightningState = LIGHTNING_OFF;
// When transitioning over night boundaries, stop the sequences and ask to replay, then respawn actors
if (newTimeIsNight != prevTimeIsNight) {
@@ -448,7 +448,7 @@ void DrawGeneralTab() {
func_800FEAF4(&gPlayState->envCtx);
// Clear weather from day 2
gWeatherMode = WEATHER_MODE_CLEAR;
- gPlayState->envCtx.lightningState = LIGHTNING_LAST;
+ gPlayState->envCtx.lightningState = LIGHTNING_OFF;
}
}
// Time speed slider