From a22f6b24d539c0ae773dbc9f1966eb122d79194b Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Thu, 18 Mar 2021 11:47:06 +0400 Subject: [PATCH] Init animation key struct before usage --- components/nif/nifkey.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nif/nifkey.hpp b/components/nif/nifkey.hpp index de2fa31c89..91869ff849 100644 --- a/components/nif/nifkey.hpp +++ b/components/nif/nifkey.hpp @@ -77,7 +77,7 @@ struct KeyMapT { mInterpolationType = nif->getUInt(); - KeyT key; + KeyType key = {}; NIFStream &nifReference = *nif; if (mInterpolationType == InterpolationType_Linear