From 28389846034fd4eda326979d92fb0cbdbd7fd9b1 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Mon, 12 Sep 2022 14:06:31 -0700 Subject: [PATCH] NSRenderableEntity: Network .frame1time whenever .frame changes. --- src/shared/NSRenderableEntity.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/NSRenderableEntity.qc b/src/shared/NSRenderableEntity.qc index ed1b808a..8ca6d0a1 100644 --- a/src/shared/NSRenderableEntity.qc +++ b/src/shared/NSRenderableEntity.qc @@ -149,6 +149,7 @@ NSRenderableEntity::SendEntity(entity ePEnt, float flChanged) SENDENTITY_COORD(maxs[1], RDENT_CHANGED_SIZE) SENDENTITY_COORD(maxs[2], RDENT_CHANGED_SIZE) SENDENTITY_BYTE(frame, RDENT_CHANGED_FRAME) + SENDENTITY_FLOAT(frame1time, RDENT_CHANGED_FRAME) SENDENTITY_FLOAT(skin, RDENT_CHANGED_SKIN) SENDENTITY_FLOAT(effects, RDENT_CHANGED_EFFECTS) SENDENTITY_BYTE(m_iBody, RDENT_CHANGED_BODY) @@ -203,6 +204,7 @@ NSRenderableEntity::ReceiveEntity(float flNew, float flChanged) READENTITY_COORD(maxs[1], RDENT_CHANGED_SIZE) READENTITY_COORD(maxs[2], RDENT_CHANGED_SIZE) READENTITY_BYTE(frame, RDENT_CHANGED_FRAME) + READENTITY_FLOAT(frame1time, RDENT_CHANGED_FRAME) READENTITY_FLOAT(skin, RDENT_CHANGED_SKIN) READENTITY_FLOAT(effects, RDENT_CHANGED_EFFECTS) READENTITY_BYTE(m_iBody, RDENT_CHANGED_BODY)