File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -256,9 +256,9 @@ CAnimBlendAssociation * CAnimManagerSA::CreateAnimAssociation ( AssocGroupId ani
256256}
257257
258258
259- CAnimBlendAssociation * CAnimManagerSA::GetAnimAssociation ( AssocGroupId animGroup, AnimationId animID )
259+ CAnimBlendStaticAssociationSAInterface * CAnimManagerSA::GetAnimStaticAssociation ( AssocGroupId animGroup, AnimationId animID )
260260{
261- CAnimBlendAssociationSAInterface * pInterface;
261+ CAnimBlendStaticAssociationSAInterface * pInterface;
262262 DWORD dwFunc = FUNC_CAnimManager_GetAnimAssociation;
263263 _asm
264264 {
@@ -268,7 +268,7 @@ CAnimBlendAssociation * CAnimManagerSA::GetAnimAssociation ( AssocGroupId animGr
268268 mov pInterface, eax
269269 add esp, 0x8
270270 }
271- return GetAnimBlendAssociation ( pInterface ) ;
271+ return pInterface;
272272}
273273
274274
@@ -760,6 +760,11 @@ CAnimBlendHierarchy * CAnimManagerSA::GetAnimBlendHierarchy ( CAnimBlendHierarch
760760 }
761761 return NULL ;
762762}
763+
764+ bool CAnimManagerSA::isGateWayAnimationHierarchy ( CAnimBlendHierarchySAInterface * pInterface )
765+ {
766+ return pGame->GetKeyGen ()->GetUppercaseKey ( GATEWAY_ANIMATION_NAME.c_str ( ) ) == pInterface->iHashKey ;
767+ }
763768
764769void CAnimManagerSA::InsertPedClumpToMap ( RpClump * pClump, CClientPed * pClientPed )
765770{
You can’t perform that action at this time.
0 commit comments