Synchronized TTC pit block
This commit is contained in:
parent
9740eb112a
commit
6a44a34d73
|
@ -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