mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 01:52:43 +00:00
Fix boo cage desync
The BBH cage could get in a weird state when it was synchronized. By desynchronizing it, it will perform properly. Weird, I know.
This commit is contained in:
parent
9f8fe804ca
commit
1467e021b3
1 changed files with 0 additions and 9 deletions
|
|
@ -25,15 +25,6 @@ static struct ObjectHitbox sBooCageHitbox = {
|
|||
* Update function for bhvBooCage.
|
||||
*/
|
||||
void bhv_boo_cage_loop(void) {
|
||||
if (!network_sync_object_initialized(o)) {
|
||||
struct SyncObject* so = network_init_object(o, 4000.0f);
|
||||
network_init_object_field(o, &o->oVelY);
|
||||
network_init_object_field(o, &o->oFaceAnglePitch);
|
||||
network_init_object_field(o, &o->oFaceAngleRoll);
|
||||
network_init_object_field(o, &o->oMoveFlags);
|
||||
so->maxUpdateRate = 5.0f;
|
||||
}
|
||||
|
||||
UNUSED s32 unused;
|
||||
|
||||
obj_set_hitbox(o, &sBooCageHitbox);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue