mirror of
https://github.com/ENSL/NS.git
synced 2024-11-25 14:01:03 +00:00
Fix lerk fly animation not showing if they walked off a ledge
This commit is contained in:
parent
f6b6e1b5c0
commit
21e6edcf2e
2 changed files with 4 additions and 2 deletions
|
@ -1891,7 +1891,8 @@ void CBasePlayer::Jump()
|
|||
if ( !FBitSet( m_afButtonPressed, IN_JUMP ) )
|
||||
return; // don't pogo stick
|
||||
|
||||
if ( !(pev->flags & FL_ONGROUND) || !pev->groundentity )
|
||||
//if ( !(pev->flags & FL_ONGROUND) || !pev->groundentity )
|
||||
if ((!(pev->flags & FL_ONGROUND) && pev->iuser3 != AVH_USER3_ALIEN_PLAYER3) || !pev->groundentity)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -4580,7 +4580,8 @@ void AvHPlayer::Jump()
|
|||
if ( !FBitSet( m_afButtonPressed, IN_JUMP ) )
|
||||
return; // don't pogo stick
|
||||
|
||||
if ( !(pev->flags & FL_ONGROUND) || !pev->groundentity )
|
||||
// if ( !(pev->flags & FL_ONGROUND) || !pev->groundentity )
|
||||
if ((!(pev->flags & FL_ONGROUND) && this->GetUser3() != AVH_USER3_ALIEN_PLAYER3) || !pev->groundentity)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue