mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-05-31 23:41:33 +00:00
Add warning for missing body parts
This commit is contained in:
parent
79d2eebe54
commit
b0c2aec374
1 changed files with 4 additions and 0 deletions
|
@ -811,6 +811,8 @@ void NpcAnimation::addPartGroup(int group, int priority, const std::vector<ESM::
|
||||||
bodypart->mData.mPart == ESM::BodyPart::MP_Upperarm))
|
bodypart->mData.mPart == ESM::BodyPart::MP_Upperarm))
|
||||||
bodypart = NULL;
|
bodypart = NULL;
|
||||||
}
|
}
|
||||||
|
else if (!bodypart)
|
||||||
|
std::cerr << "Failed to find body part '" << part->mFemale << "'" << std::endl;
|
||||||
}
|
}
|
||||||
if(!bodypart && !part->mMale.empty())
|
if(!bodypart && !part->mMale.empty())
|
||||||
{
|
{
|
||||||
|
@ -824,6 +826,8 @@ void NpcAnimation::addPartGroup(int group, int priority, const std::vector<ESM::
|
||||||
bodypart->mData.mPart == ESM::BodyPart::MP_Upperarm))
|
bodypart->mData.mPart == ESM::BodyPart::MP_Upperarm))
|
||||||
bodypart = NULL;
|
bodypart = NULL;
|
||||||
}
|
}
|
||||||
|
else if (!bodypart)
|
||||||
|
std::cerr << "Failed to find body part '" << part->mMale << "'" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(bodypart)
|
if(bodypart)
|
||||||
|
|
Loading…
Reference in a new issue