From 2a42c4781eacfd4e3825b4199e0056a97ebea4ad Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 8 Feb 2017 19:51:44 +0100 Subject: [PATCH] nifloader: override animflags instead of accumulating them --- components/nifosg/nifloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index a51153c3a2..abb9630a50 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -609,7 +609,7 @@ namespace NifOsg } if (nifNode->recType == Nif::RC_NiBSAnimationNode || nifNode->recType == Nif::RC_NiBSParticleNode) - animflags |= nifNode->flags; + animflags = nifNode->flags; // Hide collision shapes, but don't skip the subgraph // We still need to animate the hidden bones so the physics system can access them