Merge pull request #2832 from Capostrophic/warning

Fix warning
pull/2648/head
Andrei Kortunov 5 years ago committed by GitHub
commit 7a6ba8bf7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save