mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 01:31:49 +01:00
fixed bar brawl
This commit is contained in:
parent
ee456481cb
commit
f54af8b973
@ -288,6 +288,10 @@ CCutsceneMgr::SetCutsceneAnim(const char *animName, CObject *pObject)
|
|||||||
RpAnimBlendClumpRemoveAllAssociations((RpClump*)pObject->m_rwObject);
|
RpAnimBlendClumpRemoveAllAssociations((RpClump*)pObject->m_rwObject);
|
||||||
|
|
||||||
pNewAnim = ms_cutsceneAssociations.CopyAnimation(animName);
|
pNewAnim = ms_cutsceneAssociations.CopyAnimation(animName);
|
||||||
|
if (!pNewAnim) {
|
||||||
|
debug("\n\nHaven't I told you I can't find the fucking animation %s\n\n\n", animName);
|
||||||
|
return;
|
||||||
|
}
|
||||||
pNewAnim->SetCurrentTime(0.0f);
|
pNewAnim->SetCurrentTime(0.0f);
|
||||||
pNewAnim->flags |= ASSOC_HAS_TRANSLATION;
|
pNewAnim->flags |= ASSOC_HAS_TRANSLATION;
|
||||||
pNewAnim->flags &= ~ASSOC_RUNNING;
|
pNewAnim->flags &= ~ASSOC_RUNNING;
|
||||||
|
Loading…
Reference in New Issue
Block a user