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:
puzl 2006-08-04 01:05:11 +00:00
parent f5f42ace3a
commit 263bc79fec
3 changed files with 204 additions and 202 deletions

Binary file not shown.

View File

@ -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 ) )
{

View File

@ -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_" );
}