mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-13 14:42:01 +00:00
Solution for bugged weapon animation.
This commit is contained in:
parent
5171dfb729
commit
d2257de3bf
@ -492,7 +492,7 @@ void CXenSquasher::WeaponIdle(void)
|
|||||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + (93.0f / 30.0f);
|
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + (93.0f / 30.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
//return;
|
||||||
SendWeaponAnim(iAnim);
|
SendWeaponAnim(iAnim);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -654,6 +654,8 @@ void CWorld::Precache( void )
|
|||||||
CVAR_SET_FLOAT( "mp_defaultteam", 0 );
|
CVAR_SET_FLOAT( "mp_defaultteam", 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CVAR_SET_FLOAT( "cl_lw", 0 ); //Temporary solution for weapon animation.
|
||||||
|
|
||||||
// g-cont. moved here so cheats will working on restore level
|
// g-cont. moved here so cheats will working on restore level
|
||||||
g_flWeaponCheat = CVAR_GET_FLOAT( "sv_cheats" ); // Is the impulse 101 command allowed?
|
g_flWeaponCheat = CVAR_GET_FLOAT( "sv_cheats" ); // Is the impulse 101 command allowed?
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user