mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
Fix crowbar idle animation time regardless of WEAPONS_ANIMATION_TIMES_FIX macro
This commit is contained in:
parent
058626fc18
commit
74f3ec7f61
@ -366,11 +366,7 @@ void CCrowbar::WeaponIdle( void )
|
|||||||
if( flRand > 0.5f )
|
if( flRand > 0.5f )
|
||||||
{
|
{
|
||||||
iAnim = CROWBAR_IDLE;
|
iAnim = CROWBAR_IDLE;
|
||||||
#if WEAPONS_ANIMATION_TIMES_FIX
|
|
||||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 70.0f / 25.0f;
|
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 70.0f / 25.0f;
|
||||||
#else
|
|
||||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 70.0f / 30.0f;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user