mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 10:21:09 +00:00
Use pipe-equal operator
This commit is contained in:
parent
02aaae46ce
commit
0f3f96dc0e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user