This commit is contained in:
Paul 2001-08-04 19:46:38 +00:00
parent b55079c261
commit 95168c16b2

View File

@ -106,7 +106,7 @@ void CPlayerStateDance::think(CPlayerModeBase *_playerMode)
_playerMode->slowdown(); _playerMode->slowdown();
if(!m_hitGround) if(!m_hitGround)
{ {
if(_playerMode->getHeightFromGound()==0) if(_playerMode->getHeightFromGound()<=0)
{ {
_playerMode->setAnimNo(ANIM_SPONGEBOB_CELEBRATE); _playerMode->setAnimNo(ANIM_SPONGEBOB_CELEBRATE);
m_hitGround=true; m_hitGround=true;