This commit is contained in:
parent
73ebe07cc2
commit
469fa455ee
9 changed files with 173 additions and 60 deletions
|
@ -85,7 +85,7 @@ void CPlayerStateBaseIdle::thinkControl(CPlayer *_player)
|
|||
if(canMoveRight(_player))
|
||||
setState(_player,STATE_RUN);
|
||||
}
|
||||
else if(controlHeld&PI_ACTION)
|
||||
else if(controlDown&PI_ACTION)
|
||||
{
|
||||
setState(_player,STATE_ATTACK);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue