FWGS / hlsdk-portable

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

Fix #238 #458

Closed FreeSlave closed 2 months ago

FreeSlave commented 2 months ago

My proposal for fixing the issue #238

Forcefully reset the frame to 0 when animation is no longer played to avoid having the situation when the grenade is stuck on the 'flying' frame.

Note: the frame reset is visible of course, but not too noticeable during the game.

Alternatively we can just revert the commit that made grenades animated in the first place.

FreeSlave commented 2 months ago

I realized I put an issue number from another repo in the commit...