1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 19:45:32 +00:00

Fix uninitialized variable use

This commit is contained in:
scrawl 2014-06-12 15:11:52 +02:00
parent 2eebb0bf73
commit b158919c4b

View file

@ -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;