Browse Source

Solution for bugged weapon animation.

poke646
Night Owl 8 years ago
parent
commit
d2257de3bf
  1. 2
      dlls/poke646/xensquasher.cpp
  2. 2
      dlls/world.cpp

2
dlls/poke646/xensquasher.cpp

@ -492,7 +492,7 @@ void CXenSquasher::WeaponIdle(void) @@ -492,7 +492,7 @@ void CXenSquasher::WeaponIdle(void)
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + (93.0f / 30.0f);
}
return;
//return;
SendWeaponAnim(iAnim);
}

2
dlls/world.cpp

@ -654,6 +654,8 @@ void CWorld::Precache( void ) @@ -654,6 +654,8 @@ void CWorld::Precache( void )
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_flWeaponCheat = CVAR_GET_FLOAT( "sv_cheats" ); // Is the impulse 101 command allowed?
}

Loading…
Cancel
Save