diff options
author | aap <aap@papnet.eu> | 2020-12-18 17:27:18 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-18 17:27:18 +0100 |
commit | c17ccc50ab76e7f161af484400914db373dcafae (patch) | |
tree | 99a3172806399c1d79fece17b065e32083441d9c /src/animation/AnimManager.cpp | |
parent | memorymgr fix (diff) | |
download | re3-c17ccc50ab76e7f161af484400914db373dcafae.tar re3-c17ccc50ab76e7f161af484400914db373dcafae.tar.gz re3-c17ccc50ab76e7f161af484400914db373dcafae.tar.bz2 re3-c17ccc50ab76e7f161af484400914db373dcafae.tar.lz re3-c17ccc50ab76e7f161af484400914db373dcafae.tar.xz re3-c17ccc50ab76e7f161af484400914db373dcafae.tar.zst re3-c17ccc50ab76e7f161af484400914db373dcafae.zip |
Diffstat (limited to 'src/animation/AnimManager.cpp')
-rw-r--r-- | src/animation/AnimManager.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/animation/AnimManager.cpp b/src/animation/AnimManager.cpp index a85149e6..0aa6486b 100644 --- a/src/animation/AnimManager.cpp +++ b/src/animation/AnimManager.cpp @@ -1255,13 +1255,10 @@ CAnimManager::CreateAnimAssocGroups(void) group->firstAnimId = def->animDescs[0].animId; group->CreateAssociations(def->blockName, clump, def->animNames, def->numAnims); for(j = 0; j < group->numAssociations; j++) - // GetAnimation(i) in III (but it's in LoadAnimFiles), GetAnimation(group->animDesc[j].animId) in VC group->GetAnimation(def->animDescs[j].animId)->flags |= def->animDescs[j].flags; -#ifdef PED_SKIN if(IsClumpSkinned(clump)) RpClumpForAllAtomics(clump, AtomicRemoveAnimFromSkinCB, nil); -#endif RpClumpDestroy(clump); } } @@ -1352,10 +1349,8 @@ CAnimManager::LoadAnimFile(RwStream *stream, bool compress, char (*somename)[32] ROUNDSIZE(anim.size); RwStreamRead(stream, buf, anim.size); int numFrames = *(int*)(buf+28); -#ifdef PED_SKIN if(anim.size == 44) seq->SetBoneTag(*(int*)(buf+40)); -#endif seq->SetName(buf); if(numFrames == 0) continue; |