mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 09:44:09 +00:00
more small fixes
This commit is contained in:
parent
a8f1505517
commit
f12e76fa13
9 changed files with 36 additions and 19 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "ctype.h"
|
||||
|
||||
#include "General.h"
|
||||
#include "RwHelper.h"
|
||||
#include "ModelInfo.h"
|
||||
#include "AnimManager.h"
|
||||
#include "RpAnimBlend.h"
|
||||
|
@ -131,6 +132,10 @@ CAnimBlendAssocGroup::CreateAssociations(const char *name)
|
|||
assert(model);
|
||||
printf("Associated anim %s with model %s\n", anim->name, model->GetName());
|
||||
RpClump *clump = (RpClump*)model->CreateInstance();
|
||||
#ifdef PED_SKIN
|
||||
if(IsClumpSkinned(clump))
|
||||
RpClumpForAllAtomics(clump, AtomicRemoveAnimFromSkinCB, nil);
|
||||
#endif
|
||||
RpAnimBlendClumpInit(clump);
|
||||
assocList[i].Init(clump, anim);
|
||||
RpClumpDestroy(clump);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue