FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
272 stars 125 forks source link

Replace usage of m_ForceSendAnimations with entvars #306

Closed FreeSlave closed 2 years ago

FreeSlave commented 2 years ago

To avoid changing the class data layout

a1batross commented 2 years ago

As far as I remember, oldbuttons is used in prediction code. Are you sure it won't collide with it?

FreeSlave commented 2 years ago

I think it's used only for player entity.

Here I use oldbuttons of weapon entity.