Prevent Mario from trying to move in the main menu (#206)
* Fixing my mistakes * Re-add stickX/Y resets
This commit is contained in:
parent
89afa8181e
commit
4325d62abd
|
@ -1477,6 +1477,8 @@ void update_menu_level(void) {
|
||||||
gMarioState->controller->rawStickY = 0;
|
gMarioState->controller->rawStickY = 0;
|
||||||
gMarioState->controller->stickX = 0;
|
gMarioState->controller->stickX = 0;
|
||||||
gMarioState->controller->stickY = 0;
|
gMarioState->controller->stickY = 0;
|
||||||
|
gMarioState->controller->stickMag = 0;
|
||||||
|
gMarioState->intendedMag = 0;
|
||||||
|
|
||||||
// figure out music
|
// figure out music
|
||||||
if (!configMenuSound || curLevel == LEVEL_CASTLE_GROUNDS) {
|
if (!configMenuSound || curLevel == LEVEL_CASTLE_GROUNDS) {
|
||||||
|
|
Loading…
Reference in New Issue