1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 12:40:04 +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