mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Fixes #305
This commit is contained in:
parent
a31be1d18e
commit
d67492482a
@ -112,7 +112,7 @@ void CC4::PrimaryAttack()
|
||||
{
|
||||
TraceResult tr;
|
||||
UTIL_TraceLine(m_pPlayer->pev->origin, m_pPlayer->pev->origin + Vector(0, 0, -8192), ignore_monsters, m_pPlayer->edict(), &tr);
|
||||
onGround = tr.flFraction != 1.0;
|
||||
onGround = (tr.flFraction != 1.0 && m_pPlayer->pev->velocity.z == 0.0f);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user