Merge pull request #2832 from Capostrophic/warning

Fix warning
pull/578/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; bool hasVisController = false;
for (Nif::ControllerPtr ctrl = nifNode->controller; !ctrl.empty(); ctrl = ctrl->next) 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; break;
} }

Loading…
Cancel
Save