mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Fix std::make_pair fail (why is it even a problem?)
Add CScriptPickup loader
This commit is contained in:
@@ -461,7 +461,7 @@ void ANIM::ANIM1::read(athena::io::IStreamReader& reader)
|
||||
for (atUint8 f=0 ; f<boneFlagCount ; ++f)
|
||||
{
|
||||
atUint8 flag = reader.readUByte();
|
||||
bones.emplace_back(f, std::make_tuple(flag & 0x1, flag & 0x2, flag & 0x4));
|
||||
bones.emplace_back(f, std::make_tuple(bool(flag & 0x1), bool(flag & 0x2), bool(flag & 0x4)));
|
||||
if (flag & 0x1)
|
||||
++boneChannelCount;
|
||||
if (flag & 0x2)
|
||||
|
||||
Reference in New Issue
Block a user