This commit is contained in:
parent
36a3960e42
commit
2e2632d265
1 changed files with 4 additions and 1 deletions
|
@ -157,7 +157,10 @@ void CPlayerStateNoAnimIdle::enter(CPlayerModeBase *_playerMode)
|
|||
---------------------------------------------------------------------- */
|
||||
void CPlayerStateNoAnimIdle::think(CPlayerModeBase *_playerMode)
|
||||
{
|
||||
_playerMode->advanceAnimFrameAndCheckForEndOfAnim();
|
||||
if(_playerMode->advanceAnimFrameAndCheckForEndOfAnim())
|
||||
{
|
||||
_playerMode->setAnimNo(ANIM_SPONGEBOB_IDLEBREATH);
|
||||
}
|
||||
thinkControl(_playerMode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue