Optimize very strange code in mario_set_bubbled

This commit is contained in:
Agent X 2023-12-30 12:37:41 -05:00
parent 2bf4386928
commit 8448b01f79
1 changed files with 1 additions and 5 deletions

View File

@ -540,12 +540,8 @@ void mario_set_bubbled(struct MarioState* m) {
extern s16 gCutsceneTimer;
gCutsceneTimer = 0;
if (m->playerIndex == 0) {
if (m->statusForCamera) { m->statusForCamera->action = m->action; }
soft_reset_camera(m->area->camera);
}
}
/**
* Sets Mario's other velocities from his forward speed.