This commit is contained in:
parent
cef0e7cf12
commit
f950684bc2
9 changed files with 113 additions and 69 deletions
|
@ -122,9 +122,7 @@ void CPlayerStateRun::think(CPlayer *_player)
|
|||
}
|
||||
else
|
||||
{
|
||||
DVECTOR move;
|
||||
move=getMoveVelocity(_player);
|
||||
if(move.vx==0)
|
||||
if(getMoveVelocity(_player).vx==0)
|
||||
{
|
||||
setState(_player,STATE_IDLE);
|
||||
setAnimNo(_player,ANIM_PLAYER_ANIM_RUNSTOP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue