1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 08:39:45 +00:00

Merge pull request #3055 from akortunov/keyinit

Init animation key struct before usage
This commit is contained in:
Bret Curtis 2021-03-18 12:28:10 +01:00 committed by GitHub
commit 68c1adec0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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