forked from mirror/openmw-tes3mp
bit masking fix
This commit is contained in:
parent
72bb33c2c4
commit
3844c94975
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ void CSVRender::WorldspaceWidget::mousePressEvent (QMouseEvent *event)
|
|||
osg::Node* node = *it;
|
||||
if (CSVRender::TagBase* tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
|
||||
{
|
||||
if (!(tag->getElement() && mInteractionMask))
|
||||
if (!(tag->getElement() & mInteractionMask))
|
||||
break; // not interested -> continue looking
|
||||
|
||||
// hit something marked with a tag
|
||||
|
|
Loading…
Reference in a new issue