This commit is contained in:
parent
b4440f97b9
commit
8e3f39f3d9
6 changed files with 39 additions and 9 deletions
|
@ -193,15 +193,15 @@ void CPlayerModeBase::render()
|
|||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
int CPlayerModeBase::isInAttackState()
|
||||
ATTACK_STATE CPlayerModeBase::getAttackState()
|
||||
{
|
||||
int ret=false;
|
||||
ATTACK_STATE ret=ATTACK_STATE__NONE;
|
||||
|
||||
switch(getState())
|
||||
{
|
||||
case STATE_BUTTFALL:
|
||||
case STATE_BUTTLAND:
|
||||
ret=true;
|
||||
ret=ATTACK_STATE__BUTT_BOUNCE;
|
||||
break;
|
||||
|
||||
case STATE_IDLE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue