From 398f5e834511f709d4b6d91ef5ae6bc9f0a514ec Mon Sep 17 00:00:00 2001 From: MysterD Date: Fri, 28 Aug 2020 20:26:04 -0700 Subject: [PATCH] Synchronized ferris wheel --- src/game/behaviors/ferris_wheel.inc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/behaviors/ferris_wheel.inc.c b/src/game/behaviors/ferris_wheel.inc.c index 5eb12617a..d94ff03ea 100644 --- a/src/game/behaviors/ferris_wheel.inc.c +++ b/src/game/behaviors/ferris_wheel.inc.c @@ -43,6 +43,11 @@ void bhv_ferris_wheel_axle_init(void) { segmented_to_virtual(sFerrisWheelProperties[o->oBehParams2ndByte].platformCollision); } } + + struct SyncObject* so = network_init_object(o, 2000.0f); + so->hasStandardFields = FALSE; + so->maxUpdateRate = 5.0f; + network_init_object_field(o, &o->oFaceAngleRoll); } /**