Fix camera stuck in cutscene after star collection

This commit is contained in:
MysterD 2020-09-23 20:54:59 -07:00
parent d5b3a0320e
commit c2cdb654f9
1 changed files with 4 additions and 0 deletions

View File

@ -704,6 +704,10 @@ void general_star_dance_handler(struct MarioState *m, s32 isInWater) {
} else { } else {
set_mario_action(m, isInWater ? ACT_WATER_IDLE : ACT_IDLE, 0); set_mario_action(m, isInWater ? ACT_WATER_IDLE : ACT_IDLE, 0);
} }
if (gServerSettings.stayInLevelAfterStar) {
set_camera_mode(m->area->camera, m->area->camera->defMode, 1);
m->area->camera->cutscene = 0;
}
} }
} }