mirror of
https://github.com/GTAmodding/re3.git
synced 2025-02-03 07:43:54 +00:00
fixed bar brawl
This commit is contained in:
parent
ee456481cb
commit
f54af8b973
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue