This commit is contained in:
Paul 2001-04-12 18:48:33 +00:00
parent b4440f97b9
commit 8e3f39f3d9
6 changed files with 39 additions and 9 deletions

View file

@ -120,9 +120,16 @@ void CPlayerModeChop::setAnimFrame(int _animFrame)
Params:
Returns:
---------------------------------------------------------------------- */
int CPlayerModeChop::isInAttackState()
ATTACK_STATE CPlayerModeChop::getAttackState()
{
return m_chopping||CPlayerModeBase::isInAttackState();
if(m_chopping)
{
return ATTACK_STATE__KARATE;
}
else
{
return CPlayerModeBase::getAttackState();
}
}
/*----------------------------------------------------------------------
@ -131,7 +138,7 @@ int CPlayerModeChop::isInAttackState()
Params:
Returns:
---------------------------------------------------------------------- */
int CPlayerModeChop::canAttackFromThisState()
int CPlayerModeChop::canAttackFromThisState()
{
int ret=false;