mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 12:40:01 +00: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 a new issue