Browse Source

Fix crowbar idle animation time regardless of WEAPONS_ANIMATION_TIMES_FIX macro

hlfixed
Roman Chistokhodov 2 years ago
parent
commit
74f3ec7f61
  1. 4
      dlls/crowbar.cpp

4
dlls/crowbar.cpp

@ -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…
Cancel
Save