Use pipe-equal operator

pull/2810/head
Capostrophic 5 years ago
parent bbd15cccd5
commit 3b7fb9ec09

@ -592,12 +592,9 @@ 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)
skipMeshes = true; // skip child meshes, but still create the child node hierarchy for animating collision shapes

Loading…
Cancel
Save