From 52510de84e2ef543c2c6734d9691a0fbfc6a97d0 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 11 Oct 2020 14:39:07 -0700 Subject: [PATCH] Synchronized TTC pit block --- src/game/behaviors/ttc_pit_block.inc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/behaviors/ttc_pit_block.inc.c b/src/game/behaviors/ttc_pit_block.inc.c index 1f3c221f..551a1789 100644 --- a/src/game/behaviors/ttc_pit_block.inc.c +++ b/src/game/behaviors/ttc_pit_block.inc.c @@ -44,6 +44,11 @@ void bhv_ttc_pit_block_init(void) { if (gTTCSpeedSetting == TTC_SPEED_STOPPED) { o->oPosY += 330.0f; } + + struct SyncObject* so = network_init_object(o, 4000.0f); + so->minUpdateRate = 5.0f; + network_init_object_field(o, &o->oTTCPitBlockDir); + network_init_object_field(o, &o->oTTCPitBlockWaitTime); } /**