Fixed coins-inside-boo for BBH in act 2

This commit is contained in:
MysterD 2021-08-23 20:16:46 -07:00
parent 48eb2d0ab0
commit 5e8562d194

View file

@ -240,7 +240,7 @@ void coin_inside_boo_act_0(void) {
cur_obj_set_model(MODEL_BLUE_COIN);
cur_obj_scale(0.7);
}
if (parent == NULL || parent->behavior != bhvGhostHuntBoo) {
if (parent == NULL || (parent->behavior != bhvGhostHuntBoo && parent->behavior != bhvBoo)) {
o->parentObj = NULL;
obj_mark_for_deletion(o);
return;