mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-04 20:45:32 +00:00
Use pipe-equal operator
This commit is contained in:
parent
bbd15cccd5
commit
3b7fb9ec09
1 changed files with 1 additions and 4 deletions
|
@ -592,11 +592,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…
Reference in a new issue