diff --git a/components/nif/niffile.hpp b/components/nif/niffile.hpp index fbb64e4f74..a9e2c6fe71 100644 --- a/components/nif/niffile.hpp +++ b/components/nif/niffile.hpp @@ -165,6 +165,9 @@ struct KeyListT { void read(NIFStream *nif, bool force=false) { assert(nif); + + mInterpolationType = 0; + size_t count = nif->getUInt(); if(count == 0 && !force) return;