mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 14:03:01 +00:00
Synchronized TTC pit block
This commit is contained in:
parent
4cb089c428
commit
52510de84e
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue