Skip to content

Commit a550ae1

Browse files
committed
GetAnimationHierarchy loop breaks after hierarchy is found
1 parent 65fdfe7 commit a550ae1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/mods/deathmatch/logic/CClientIFP.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@ CAnimBlendHierarchySAInterface * CClientIFP::GetAnimationHierarchy ( const SStri
11721172
if (strAnimationName.ToLower() == it->Name.ToLower())
11731173
{
11741174
pAnimHierarchyInterface = (CAnimBlendHierarchySAInterface *)&it->Hierarchy;
1175+
break;
11751176
}
11761177
}
11771178
s_iAnimationSearchReferences --;

0 commit comments

Comments
 (0)