Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Client/mods/deathmatch/logic/CClientPed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5788,11 +5788,11 @@ bool CClientPed::IsRunningAnimation()
{
CTask* pTask = m_pTaskManager->GetTask(TASK_PRIORITY_PRIMARY);
if (pTask && pTask->GetTaskType() == TASK_SIMPLE_NAMED_ANIM)
{
return true;
}
return false;
}

// Short-lived partial anims end TASK_SIMPLE_NAMED_ANIM while loop/freezeLastFrame
// keeps the pose; fall back to cache (same as streamed-out peds).
return (m_AnimationCache.bLoop || m_AnimationCache.bFreezeLastFrame) && m_pAnimationBlock;
}

Expand Down
Loading