Synchronized TTC pit block
This commit is contained in:
parent
4cb089c428
commit
52510de84e
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue