Synchronized TTC pit block

This commit is contained in:
MysterD 2020-10-11 14:39:07 -07:00
parent 9740eb112a
commit 6a44a34d73
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}
/**