1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Merge pull request #2832 from Capostrophic/warning

Fix warning
This commit is contained in:
Andrei Kortunov 2020-05-10 15:45:20 +04:00 committed by GitHub
commit 7a6ba8bf7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -612,7 +612,7 @@ namespace NifOsg
bool hasVisController = false;
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;
}