diff --git a/src/game/level_update.c b/src/game/level_update.c index 7a9580ee..ac28c029 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -1627,9 +1627,6 @@ void update_menu_level(void) { gMarioState->controller->stickY = 0; gMarioState->controller->stickMag = 0; gMarioState->intendedMag = 0; - // reset shadow - gMarioState->marioObj->header.gfx.shadowInvisible = false; - gMarioState->marioObj->header.gfx.disableAutomaticShadowPos = false; } s32 update_level(void) { diff --git a/src/pc/network/network.c b/src/pc/network/network.c index 586cf8a9..3f91e38e 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -707,6 +707,10 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect cnt->extStickX = 0; cnt->extStickY = 0; + // reset shadow + gMarioStates[0].marioObj->header.gfx.shadowInvisible = false; + gMarioStates[0].marioObj->header.gfx.disableAutomaticShadowPos = false; + gFirstPersonCamera.enabled = false; gFirstPersonCamera.fov = FIRST_PERSON_DEFAULT_FOV; first_person_reset();