Fixed coins-inside-boo for BBH in act 2

This commit is contained in:
MysterD 2021-08-23 20:16:46 -07:00
parent 1b46523ff0
commit a654c5b1c6
1 changed files with 1 additions and 1 deletions

View File

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