#ifdef->#if.

This commit is contained in:
Andrey Akhmichin 2021-06-13 02:25:25 +05:00
parent 9bb2924e59
commit 8435857573

View File

@ -463,13 +463,13 @@ void CCrossbow::FireBolt()
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.75f; m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.75f;
} }
#ifdef CLIENT_DLL #if CLIENT_DLL
extern float offSetFactor; extern float offSetFactor;
#endif #endif
void CCrossbow::SecondaryAttack() void CCrossbow::SecondaryAttack()
{ {
#ifdef CLIENT_DLL #if CLIENT_DLL
if( offSetFactor != 1 ) if( offSetFactor != 1 )
{ {
offSetFactor = 1; offSetFactor = 1;