mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 02:40:00 +00:00
General fixes
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
2d08696190
commit
0eb8a5d53e
4 changed files with 19 additions and 27 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
void UpdateTime(float timeDelta, float relSpeed);
|
||||
bool UpdateBlend(float timeDelta);
|
||||
|
||||
float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
|
||||
inline float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
|
||||
|
||||
static CAnimBlendAssociation *FromLink(CAnimBlendLink *l) {
|
||||
return (CAnimBlendAssociation*)((uint8*)l - offsetof(CAnimBlendAssociation, link));
|
||||
|
|
|
@ -752,7 +752,7 @@ CAnimManager::LoadAnimFiles(void)
|
|||
AnimAssocDefinition *def = &CAnimManager::ms_aAnimAssocDefinitions[i];
|
||||
group->CreateAssociations(def->blockName, clump, def->animNames, def->numAnims);
|
||||
for(j = 0; j < group->numAssociations; j++)
|
||||
group->GetAnimation(def->animDescs[j].animId)->flags |= def->animDescs[j].flags;
|
||||
group->GetAnimation(j)->flags |= def->animDescs[j].flags;
|
||||
RpClumpDestroy(clump);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue