Cancel first person if Mario is flying

This commit is contained in:
Agent X 2023-12-23 12:14:19 -05:00
parent 9d86c70f58
commit cc35c3eb99

View file

@ -34,7 +34,7 @@ struct FirstPersonCamera gFirstPersonCamera = {
extern s16 gMenuMode;
bool first_person_check_cancels(struct MarioState *m) {
if (m->action == ACT_FIRST_PERSON || m->action == ACT_IN_CANNON || m->action == ACT_READING_NPC_DIALOG || m->action == ACT_DISAPPEARED) {
if (m->action == ACT_FIRST_PERSON || m->action == ACT_IN_CANNON || m->action == ACT_READING_NPC_DIALOG || m->action == ACT_DISAPPEARED || m->action == ACT_FLYING) {
return true;
}