1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-07-13 09:41:42 +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;
}