Prevent Mario from trying to move in the main menu (#206)

* Fixing my mistakes

* Re-add stickX/Y resets
This commit is contained in:
Agent X 2022-10-18 18:35:00 -04:00 committed by GitHub
parent 89afa8181e
commit 4325d62abd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1477,6 +1477,8 @@ void update_menu_level(void) {
gMarioState->controller->rawStickY = 0;
gMarioState->controller->stickX = 0;
gMarioState->controller->stickY = 0;
gMarioState->controller->stickMag = 0;
gMarioState->intendedMag = 0;
// figure out music
if (!configMenuSound || curLevel == LEVEL_CASTLE_GROUNDS) {