Skip to content

Commit 0a903aa

Browse files
committed
Fix IsRunningAnimation condition
1 parent 2755fd8 commit 0a903aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientPed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5733,7 +5733,7 @@ bool CClientPed::IsRunningAnimation()
57335733
}
57345734
return false;
57355735
}
5736-
return (m_AnimationCache.bLoop || m_AnimationCache.bFreezeLastFrame && m_pAnimationBlock);
5736+
return (m_AnimationCache.bLoop || m_AnimationCache.bFreezeLastFrame) && m_pAnimationBlock;
57375737
}
57385738

57395739
bool CClientPed::IsAnimationInProgress()

0 commit comments

Comments
 (0)