summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimManager.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 09:44:04 +0200
committerGitHub <noreply@github.com>2019-07-07 09:44:04 +0200
commit0384d7ceb458b5b6e0093e93f7c78a3aff9272b7 (patch)
tree0aec680fb9460225c18231d26d78b75f522c2592 /src/animation/AnimManager.cpp
parentsome work on vehicles (diff)
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar.gz
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar.bz2
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar.lz
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar.xz
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.tar.zst
re3-0384d7ceb458b5b6e0093e93f7c78a3aff9272b7.zip
Diffstat (limited to '')
-rw-r--r--src/animation/AnimManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/AnimManager.cpp b/src/animation/AnimManager.cpp
index 73fc4d94..6ad63e49 100644
--- a/src/animation/AnimManager.cpp
+++ b/src/animation/AnimManager.cpp
@@ -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);
}
}