mirror of https://github.com/ENSL/NS.git
o updated eclipse from ben
o crouched lerk flight plays flap animation o crouched alien attack animations now play git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@564 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
f5f42ace3a
commit
263bc79fec
Binary file not shown.
|
@ -2295,8 +2295,10 @@ void CBasePlayer::PreThink(void)
|
|||
|
||||
|
||||
// If trying to duck, already ducked, or in the process of ducking
|
||||
if ((pev->button & IN_DUCK) || FBitSet(pev->flags,FL_DUCKING) || (m_afPhysicsFlags & PFLAG_DUCKING) )
|
||||
if ((pev->button & IN_DUCK) || FBitSet(pev->flags,FL_DUCKING) || (m_afPhysicsFlags & PFLAG_DUCKING) ) {
|
||||
if ( AvHMUGetCanDuck(this->pev->iuser3) )
|
||||
Duck();
|
||||
}
|
||||
|
||||
if ( !FBitSet ( pev->flags, FL_ONGROUND ) )
|
||||
{
|
||||
|
|
|
@ -1562,7 +1562,7 @@ void AvHPlayer::GetAnimationForActivity(int inActivity, char outAnimation[64], b
|
|||
break;
|
||||
|
||||
case ACT_RANGE_ATTACK1:
|
||||
if(theCanCrouch && theIsCrouched)
|
||||
if(theCanCrouch && theIsCrouched && !theIsAlien )
|
||||
{
|
||||
strcpy(outAnimation, "crouch_" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue