diff options
author | aap <aap@papnet.eu> | 2020-04-25 00:40:14 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-25 00:41:17 +0200 |
commit | ac19de45b88123b2284ecc3ab44cedcaa7ca496d (patch) | |
tree | 5e512242f7c7f41fcb9c685c2679c6b004bae8fd /src/animation/AnimManager.cpp | |
parent | implemented debugmenu (diff) | |
download | re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.gz re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.bz2 re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.lz re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.xz re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.zst re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/animation/AnimManager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/animation/AnimManager.cpp b/src/animation/AnimManager.cpp index 7c09b0dd..ebd2e1fb 100644 --- a/src/animation/AnimManager.cpp +++ b/src/animation/AnimManager.cpp @@ -1,6 +1,7 @@ #include "common.h" #include "General.h" +#include "RwHelper.h" #include "ModelInfo.h" #include "ModelIndices.h" #include "FileMgr.h" @@ -754,6 +755,11 @@ CAnimManager::LoadAnimFiles(void) group->CreateAssociations(def->blockName, clump, def->animNames, def->numAnims); for(j = 0; j < group->numAssociations; j++) group->GetAnimation(j)->flags |= def->animDescs[j].flags; +#ifdef PED_SKIN + // forgot on xbox/android + if(IsClumpSkinned(clump)) + RpClumpForAllAtomics(clump, AtomicRemoveAnimFromSkinCB, nil); +#endif RpClumpDestroy(clump); } } |