diff options
author | aap <aap@papnet.eu> | 2021-08-24 19:16:17 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-08-24 19:16:17 +0200 |
commit | 5f7de20cdebe36759d6fe06ff8aabc91359771f0 (patch) | |
tree | 44db44eef4a7c41770738fc8c493de8eb3570cdb /src/animation/AnimBlendAssocGroup.cpp | |
parent | CModelInfo done (diff) | |
download | re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar.gz re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar.bz2 re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar.lz re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar.xz re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.tar.zst re3-5f7de20cdebe36759d6fe06ff8aabc91359771f0.zip |
Diffstat (limited to 'src/animation/AnimBlendAssocGroup.cpp')
-rw-r--r-- | src/animation/AnimBlendAssocGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/AnimBlendAssocGroup.cpp b/src/animation/AnimBlendAssocGroup.cpp index 7c0a10d4..f56e5f20 100644 --- a/src/animation/AnimBlendAssocGroup.cpp +++ b/src/animation/AnimBlendAssocGroup.cpp @@ -132,7 +132,7 @@ GetModelFromName(const char *name) } uint32 hashKey = CKeyGen::GetUppercaseKey(name); - for (i = 0; i < MODELINFOSIZE; i++) { + for (i = 0; i < CModelInfo::GetNumModelInfos(); i++) { mi = CModelInfo::GetModelInfo(i); if (mi && mi->GetRwObject() && RwObjectGetType(mi->GetRwObject()) == rpCLUMP && |