mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 19:20:56 +00:00
Add warning for missing body parts
This commit is contained in:
parent
79d2eebe54
commit
b0c2aec374
@ -811,6 +811,8 @@ void NpcAnimation::addPartGroup(int group, int priority, const std::vector<ESM::
|
||||
bodypart->mData.mPart == ESM::BodyPart::MP_Upperarm))
|
||||
bodypart = NULL;
|
||||
}
|
||||
else if (!bodypart)
|
||||
std::cerr << "Failed to find body part '" << part->mFemale << "'" << std::endl;
|
||||
}
|
||||
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 = NULL;
|
||||
}
|
||||
else if (!bodypart)
|
||||
std::cerr << "Failed to find body part '" << part->mMale << "'" << std::endl;
|
||||
}
|
||||
|
||||
if(bodypart)
|
||||
|
Loading…
x
Reference in New Issue
Block a user