summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimManager.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-06 23:00:32 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-07 00:35:45 +0200
commit0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2 (patch)
tree57d7595b137347f5c4e0679d012696d54f045f1a /src/animation/AnimManager.cpp
parentMerge pull request #113 from erorcun/erorcun (diff)
downloadre3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.gz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.bz2
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.lz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.xz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.zst
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.zip
Diffstat (limited to 'src/animation/AnimManager.cpp')
-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);
}
}