1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-12 16:06:43 +00:00

Init animation key struct before usage

This commit is contained in:
Andrei Kortunov 2021-03-18 11:47:06 +04:00
parent 49ec7c2053
commit a22f6b24d5

View file

@ -77,7 +77,7 @@ struct KeyMapT {
mInterpolationType = nif->getUInt(); mInterpolationType = nif->getUInt();
KeyT<T> key; KeyType key = {};
NIFStream &nifReference = *nif; NIFStream &nifReference = *nif;
if (mInterpolationType == InterpolationType_Linear if (mInterpolationType == InterpolationType_Linear