mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-05 11:07:51 -05:00
chore: adjust XModelCommon numeric types
This commit is contained in:
@ -46,10 +46,10 @@ protected:
|
||||
for (const auto& bone : xmodel.m_bones)
|
||||
{
|
||||
m_stream << "BONE " << boneNum << " ";
|
||||
if (bone.parentIndex < 0)
|
||||
m_stream << "-1";
|
||||
if (bone.parentIndex)
|
||||
m_stream << *bone.parentIndex;
|
||||
else
|
||||
m_stream << bone.parentIndex;
|
||||
m_stream << "-1";
|
||||
|
||||
m_stream << " \"" << bone.name << "\"\n";
|
||||
boneNum++;
|
||||
|
Reference in New Issue
Block a user