mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix shadow reset
This commit is contained in:
parent
c950c0a5fb
commit
e757f91c3c
2 changed files with 4 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue