1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 07:09:40 +00:00

Use pipe-equal operator

This commit is contained in:
Capostrophic 2020-04-28 10:00:46 +03:00
parent bbd15cccd5
commit 3b7fb9ec09

View file

@ -592,11 +592,8 @@ namespace NifOsg
bool hasVisController = false;
for (Nif::ControllerPtr ctrl = nifNode->controller; !ctrl.empty(); ctrl = ctrl->next)
{
if (ctrl->recType == Nif::RC_NiVisController)
{
hasVisController = true;
if (hasVisController |= (ctrl->recType == Nif::RC_NiVisController))
break;
}
}
if (!hasVisController)