1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-01 13:48:26 +00:00

creatureanimation.cpp [ci skip]

This commit is contained in:
Bo Svensson 2021-09-05 10:38:55 +00:00 committed by GitHub
parent 6f8ac89565
commit 4b04dc534a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ void CreatureWeaponAnimation::updatePart(PartHolderPtr& scene, int slot)
{
osg::ref_ptr<const osg::Node> node = mResourceSystem->getSceneManager()->getTemplate(itemModel);
const Map& nodeMap = getNodeMap();
const NodeMap& nodeMap = getNodeMap();
NodeMap::const_iterator found = nodeMap.find(Misc::StringUtils::lowerCase(bonename));
if (found == nodeMap.end())
throw std::runtime_error("Can't find attachment node " + bonename);