mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 06:50:33 +00:00
Use original names
This commit is contained in:
parent
6e42c791cf
commit
8eed6ae179
15 changed files with 41 additions and 41 deletions
|
@ -111,7 +111,7 @@ GetModelFromName(const char *name)
|
|||
for(i = 0; i < MODELINFOSIZE; i++){
|
||||
mi = CModelInfo::GetModelInfo(i);
|
||||
if(mi && mi->GetRwObject() && RwObjectGetType(mi->GetRwObject()) == rpCLUMP &&
|
||||
strcmpIgnoringDigits(mi->GetName(), name))
|
||||
strcmpIgnoringDigits(mi->GetModelName(), name))
|
||||
return mi;
|
||||
}
|
||||
return nil;
|
||||
|
@ -134,7 +134,7 @@ CAnimBlendAssocGroup::CreateAssociations(const char *name)
|
|||
CAnimBlendHierarchy *anim = CAnimManager::GetAnimation(animBlock->firstIndex + i);
|
||||
CBaseModelInfo *model = GetModelFromName(anim->name);
|
||||
assert(model);
|
||||
printf("Associated anim %s with model %s\n", anim->name, model->GetName());
|
||||
printf("Associated anim %s with model %s\n", anim->name, model->GetModelName());
|
||||
RpClump *clump = (RpClump*)model->CreateInstance();
|
||||
#ifdef PED_SKIN
|
||||
if(IsClumpSkinned(clump))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue