1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Call getPtrViaHandle instead of searchPtrViaHandle for faced handle

This commit is contained in:
MiroslavR 2014-09-09 18:10:34 +02:00
parent 7e6e248511
commit 45c90bdcb5

View File

@ -973,7 +973,7 @@ namespace MWWorld
if (facedHandle.empty())
return MWWorld::Ptr();
return searchPtrViaHandle(facedHandle);
return getPtrViaHandle(facedHandle);
}
std::pair<MWWorld::Ptr,Ogre::Vector3> World::getHitContact(const MWWorld::Ptr &ptr, float distance)