mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Improve first person cam bowser check
This commit is contained in:
parent
7368270986
commit
7cf5bce67b
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ bool first_person_check_cancels(struct MarioState *m) {
|
||||||
if (gLuaLoadingMod != NULL) { return false; }
|
if (gLuaLoadingMod != NULL) { return false; }
|
||||||
|
|
||||||
struct Object *bowser = find_object_with_behavior(bhvBowser);
|
struct Object *bowser = find_object_with_behavior(bhvBowser);
|
||||||
if (bowser != NULL && (bowser->oAction == 5 || bowser->oAction == 6)) {
|
if ((gCurrLevelNum == LEVEL_BOWSER_1 || gCurrLevelNum == LEVEL_BOWSER_2 || gCurrLevelNum == LEVEL_BOWSER_3) &&
|
||||||
|
bowser != NULL &&
|
||||||
|
(bowser->oAction == 5 || bowser->oAction == 6)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue