FWGS / hlsdk-portable

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

Add WEAPONS_ANIMATION_TIMES_FIX macros. Fix #172 #280

Closed FreeSlave closed 2 years ago

FreeSlave commented 2 years ago

@nekonomicon we can apply the fix for crowbar idle animation even without this macro as crowbar plays idle animation only when another macro is enabled. Also we can remove the line m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->random_seed, 10.0f, 15.0f ); from satchel's Deploy altogether as m_flTimeWeaponIdle is rewritten by a subsequent call to DefaultDeploy anyway.

What do you think?

nekonomicon commented 2 years ago

I think we can do It.

FreeSlave commented 2 years ago

@nekonomicon added commits