mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 23:43:01 +00:00
Bugfix for spiny override ownership
This commit is contained in:
parent
2fb2fc81e1
commit
392471eb1f
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ static void spiny_act_thrown_by_lakitu(void) {
|
|||
}
|
||||
|
||||
void bhv_spiny_override_ownership(u8* shouldOverride, u8* shouldOwn) {
|
||||
if (o->parentObj == NULL || o->parentObj->activeFlags == ACTIVE_FLAG_DEACTIVED) { return; }
|
||||
*shouldOverride = (o->parentObj->behavior == bhvEnemyLakitu);
|
||||
*shouldOwn = network_owns_object(o->parentObj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue