twhl-community / halflife-updated

Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
Other
382 stars 146 forks source link

Fix hand grenade animations not playing correctly #209

Closed Toodles2You closed 1 year ago

Toodles2You commented 1 year ago

Hand grenades have their sequences set without calls to "ResetSequenceInfo".

hajimura commented 1 year ago

Don't understand about the fix. Could you explain about it?

Toodles2You commented 1 year ago

@hajimura Yeah! When hand grenades are spawned, their sequence isn't set up properly, causing them to shake rapidly as they fly through the air. They're supposed to play a smooth tumbling animation. Calling "ResetSequenceInfo" upon spawning fixes the animation playback. Hope that helps!