mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Use pipe-equal operator
This commit is contained in:
parent
bbd15cccd5
commit
3b7fb9ec09
@ -592,12 +592,9 @@ 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 (ctrl->recType == Nif::RC_NiVisController)
|
if (hasVisController |= (ctrl->recType == Nif::RC_NiVisController))
|
||||||
{
|
|
||||||
hasVisController = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!hasVisController)
|
if (!hasVisController)
|
||||||
skipMeshes = true; // skip child meshes, but still create the child node hierarchy for animating collision shapes
|
skipMeshes = true; // skip child meshes, but still create the child node hierarchy for animating collision shapes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user