summaryrefslogtreecommitdiff
path: root/soh
diff options
context:
space:
mode:
authorPhilip Dubé <159546+serprex@users.noreply.github.com>2026-10-20 05:40:37 +0000
committerGitHub <noreply@github.com>2026-10-20 05:40:37 +0000
commit2827fc2a0f56a9cdc18a87adf8c1bb7e91315f41 (patch)
tree67a094effbd6585571454762b982fee9116e195c /soh
parent41ae6cd3b68c7cf1855bd865f3d00bd2013667da (diff)
parentf0599f96f8d442f26d0fa1c5cedafddacd56633f (diff)
Merge pull request #7431 from HarbourMasters/develop-deweyHEADdevelop
Dewey -> Develop
Diffstat (limited to 'soh')
-rw-r--r--soh/soh/Enhancements/Minigames/BombchuBowling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/Minigames/BombchuBowling.cpp b/soh/soh/Enhancements/Minigames/BombchuBowling.cpp
index 84f08b146..c433fc900 100644
--- a/soh/soh/Enhancements/Minigames/BombchuBowling.cpp
+++ b/soh/soh/Enhancements/Minigames/BombchuBowling.cpp
@@ -91,7 +91,7 @@ static void RegisterBombchuBowlingAmmo() {
static s32 prevAmmoValue = CUCCO_BOWLING_AMMO_DEFAULT;
s32 nextAmmoValue = CVAR_BOWLING_VALUE ? CVAR_BOWLING_AMMO_VALUE : CUCCO_BOWLING_AMMO_DEFAULT;
- if ((prevAmmoValue != nextAmmoValue) && (gPlayState->bombchuBowlingStatus > 0)) {
+ if ((prevAmmoValue != nextAmmoValue) && gPlayState != NULL && (gPlayState->bombchuBowlingStatus > 0)) {
gPlayState->bombchuBowlingStatus += nextAmmoValue - prevAmmoValue;
if (gPlayState->bombchuBowlingStatus <= 0) {
gPlayState->bombchuBowlingStatus = -1;