This commit is contained in:
Paul 2001-01-25 22:18:09 +00:00
parent 6fa19af650
commit f477795249

View File

@ -87,7 +87,7 @@ void CPlayerStateRun::enter(CPlayer *_player)
setFacing(_player,FACING_RIGHT);
}
m_numberOfTimeAnimHasLooped=0;
// m_numberOfTimeAnimHasLooped=0;
}
@ -127,10 +127,10 @@ void CPlayerStateRun::think(CPlayer *_player)
if(getMoveVelocity(_player).vx==0)
{
setState(_player,STATE_IDLE);
if(m_numberOfTimeAnimHasLooped>=2)
{
setAnimNo(_player,ANIM_PLAYER_ANIM_RUNSTOP);
}
// if(m_numberOfTimeAnimHasLooped>=2)
// {
// setAnimNo(_player,ANIM_PLAYER_ANIM_RUNSTOP);
// }
}
else
{
@ -141,7 +141,7 @@ void CPlayerStateRun::think(CPlayer *_player)
if(advanceAnimFrameAndCheckForEndOfAnim(_player))
{
setAnimNo(_player,ANIM_PLAYER_ANIM_RUN);
m_numberOfTimeAnimHasLooped++;
// m_numberOfTimeAnimHasLooped++;
}
}