1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 01:19:59 +00:00

Use pipe-equal operator

This commit is contained in:
Capostrophic 2020-04-28 10:00:46 +03:00 committed by Bret Curtis
parent 02aaae46ce
commit 0f3f96dc0e

View File

@ -583,11 +583,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)