1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 01:15:32 +00:00

nifloader: override animflags instead of accumulating them

This commit is contained in:
scrawl 2017-02-08 19:51:44 +01:00
parent 0187f2ce4c
commit 2a42c4781e

View file

@ -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