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:
parent
6f8ac89565
commit
4b04dc534a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue