2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 04:57:01 +00:00

ANIM0 fix

This commit is contained in:
Jack Andersen
2015-09-26 17:05:43 -10:00
parent bffb491769
commit 262f9ccf9f
3 changed files with 11 additions and 11 deletions

View File

@@ -128,7 +128,7 @@ void ANIM::ANIM0::read(Athena::io::IStreamReader& reader)
{
atUint8 idx = reader.readUByte();
if (idx != 0xff)
std::get<1>(bones.back().second) = true;
std::get<1>(bones[b].second) = true;
}
boneCount = reader.readUint32Big();
@@ -136,7 +136,7 @@ void ANIM::ANIM0::read(Athena::io::IStreamReader& reader)
{
atUint8 idx = reader.readUByte();
if (idx != 0xff)
std::get<2>(bones.back().second) = true;
std::get<2>(bones[b].second) = true;
}
channels.clear();