1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 02:15:32 +00:00

removed a redundant check

This commit is contained in:
Marc Zinnschlag 2015-09-27 11:34:14 +02:00
parent 7bbc475bda
commit 5d9863aec1

View file

@ -378,12 +378,7 @@ osg::ref_ptr<CSVRender::TagBase> CSVRender::WorldspaceWidget::mousePick (QMouseE
{
osg::Node* node = *it;
if (osg::ref_ptr<CSVRender::TagBase> tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
{
if (!(tag->getElement() & mInteractionMask))
break; // not interested -> continue looking
return tag;
}
}
// ignoring terrain for now