From 39fda166dda2b12a5f13e411a4411b9c8df4a2d5 Mon Sep 17 00:00:00 2001 From: MysterD Date: Thu, 24 Sep 2020 00:05:48 -0700 Subject: [PATCH] Synchronized horizontal Grindels --- src/game/behaviors/horizontal_grindel.inc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/behaviors/horizontal_grindel.inc.c b/src/game/behaviors/horizontal_grindel.inc.c index c0b5fe15..328622f9 100644 --- a/src/game/behaviors/horizontal_grindel.inc.c +++ b/src/game/behaviors/horizontal_grindel.inc.c @@ -1,6 +1,14 @@ void bhv_horizontal_grindel_init(void) { 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) {