1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

Not handling interpolation type should be an error, since it will fail reading the next record if it hasn't read the previous one completely.

This commit is contained in:
scrawl 2013-12-31 00:56:04 +01:00
parent 94cdc1efd2
commit 254eba350e

View file

@ -200,7 +200,7 @@ struct KeyListT {
}
}
else
nif->file->warn("Unhandled interpolation type: "+Ogre::StringConverter::toString(mInterpolationType));
nif->file->fail("Unhandled interpolation type: "+Ogre::StringConverter::toString(mInterpolationType));
}
};
typedef KeyListT<float,&NIFStream::getFloat> FloatKeyList;