Synchronized TTC pit block

This commit is contained in:
MysterD 2020-10-11 14:39:07 -07:00
parent 4cb089c428
commit 52510de84e

View file

@ -44,6 +44,11 @@ void bhv_ttc_pit_block_init(void) {
if (gTTCSpeedSetting == TTC_SPEED_STOPPED) { if (gTTCSpeedSetting == TTC_SPEED_STOPPED) {
o->oPosY += 330.0f; 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);
} }
/** /**