This commit is contained in:
Paul 2001-01-22 22:58:12 +00:00
parent cef0e7cf12
commit f950684bc2
9 changed files with 113 additions and 69 deletions

View file

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