mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fix uninitialized variable use
This commit is contained in:
parent
2eebb0bf73
commit
b158919c4b
@ -165,6 +165,9 @@ struct KeyListT {
|
|||||||
void read(NIFStream *nif, bool force=false)
|
void read(NIFStream *nif, bool force=false)
|
||||||
{
|
{
|
||||||
assert(nif);
|
assert(nif);
|
||||||
|
|
||||||
|
mInterpolationType = 0;
|
||||||
|
|
||||||
size_t count = nif->getUInt();
|
size_t count = nif->getUInt();
|
||||||
if(count == 0 && !force)
|
if(count == 0 && !force)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user