This commit is contained in:
parent
b55079c261
commit
95168c16b2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user