FWGS / hlsdk-portable

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

Fix deploy animations on fast weapon switching #289

Closed FreeSlave closed 2 years ago

FreeSlave commented 2 years ago

Sometimes weapon deploy animation does not play if previous and next weapons deploy animations have the same sequence index (e.g. gauss and crossbow).

Same as https://github.com/SamVanheer/halflife-updated/commit/42f45bdaec7c110424eec4a5e6664d14dcd0e6e1 but with hacks to fix fast switch by selecting weapon via keybinds (the original fix only applies to fast switching via Last Weapon bind).