|
|
|
@ -2023,9 +2023,10 @@ bool CharacterController::playGroup(const std::string &groupname, int mode, int
|
|
|
|
|
mCurrentIdle.clear();
|
|
|
|
|
|
|
|
|
|
mIdleState = CharState_SpecialIdle;
|
|
|
|
|
bool loopfallback = (entry.mGroup.compare(0,4,"idle") == 0);
|
|
|
|
|
mAnimation->play(groupname, Priority_Default,
|
|
|
|
|
MWRender::Animation::BlendMask_All, false, 1.0f,
|
|
|
|
|
((mode==2) ? "loop start" : "start"), "stop", 0.0f, count-1);
|
|
|
|
|
((mode==2) ? "loop start" : "start"), "stop", 0.0f, count-1, loopfallback);
|
|
|
|
|
}
|
|
|
|
|
else if(mode == 0)
|
|
|
|
|
{
|
|
|
|
|