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

Shotgun single shot cocking animation #195

Closed Ronin4862 closed 1 year ago

Ronin4862 commented 1 year ago

https://youtu.be/oxzxgJhPbDE

After firing the last shell the cocking animation is shorter than the other 7. The cocking after a double shot is of correct length everytime even after firing the last 2 shells.

SamVanheer commented 1 year ago

Thanks for reporting this. I've increased the duration before idle animations begin to play from 0.75 seconds to 1 second. The single shot animation is 1.05 seconds long but you won't see it get cut off anymore. It doesn't affect reload time.