forked from mirror/openmw-tes3mp
Fix uninitialized variable use
This commit is contained in:
parent
2eebb0bf73
commit
b158919c4b
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue