This commit is contained in:
parent
c59255f3bb
commit
4e9fd0378d
@ -69,9 +69,13 @@ CPlayerStateSpring s_stateSpring;
|
||||
---------------------------------------------------------------------- */
|
||||
void CPlayerStateSpring::enter(CPlayerModeBase *_playerMode)
|
||||
{
|
||||
_playerMode->setAnimNo(ANIM_SPONGEBOB_JUMP);
|
||||
m_springFrames=0;
|
||||
_playerMode->spring();
|
||||
// If already in this state then don't do the entry code
|
||||
if(_playerMode->getState()!=STATE_SPRINGUP)
|
||||
{
|
||||
_playerMode->setAnimNo(ANIM_SPONGEBOB_JUMP);
|
||||
m_springFrames=0;
|
||||
_playerMode->spring();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user