Synchronized horizontal Grindels

This commit is contained in:
MysterD 2020-09-24 00:05:48 -07:00
parent 9ef8cda5ee
commit e6dd75a44c
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,14 @@
void bhv_horizontal_grindel_init(void) { void bhv_horizontal_grindel_init(void) {
o->oHorizontalGrindelTargetYaw = o->oMoveAngleYaw; o->oHorizontalGrindelTargetYaw = o->oMoveAngleYaw;
network_init_object(o, 4000.0f);
network_init_object_field(o, &o->oHorizontalGrindelOnGround);
network_init_object_field(o, &o->oHorizontalGrindelTargetYaw);
network_init_object_field(o, &o->oHorizontalGrindelDistToHome);
network_init_object_field(o, &o->oMoveFlags);
network_init_object_field(o, &o->oForwardVel);
network_init_object_field(o, &o->oGravity);
} }
void bhv_horizontal_grindel_update(void) { void bhv_horizontal_grindel_update(void) {