From 0954597fa7a8a225a8f27995cb9e92b641751d22 Mon Sep 17 00:00:00 2001 From: "glassmancody.info" Date: Tue, 5 Jul 2022 11:00:28 -0700 Subject: [PATCH] fix typo with wrong flags in particle nifloader --- components/nif/controller.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nif/controller.hpp b/components/nif/controller.hpp index ca31307b2d..a3df63f913 100644 --- a/components/nif/controller.hpp +++ b/components/nif/controller.hpp @@ -82,7 +82,7 @@ struct NiParticleSystemController : public Controller void read(NIFStream *nif) override; void post(NIFFile *nif) override; - bool noAutoAdjust() const { return flags & EmitFlag_NoAutoAdjust; } + bool noAutoAdjust() const { return emitFlags & EmitFlag_NoAutoAdjust; } bool emitAtVertex() const { return flags & BSPArrayController_AtVertex; } }; using NiBSPArrayController = NiParticleSystemController;