Identify unknown float in NiGravity

c++11
scrawl 10 years ago
parent 1eafecd30c
commit c4738b11b1

@ -54,7 +54,10 @@ namespace Nif
{ {
Controlled::read(nif); Controlled::read(nif);
/*unknown*/nif->getFloat(); float decay = nif->getFloat();
if (decay != 0.f)
nif->file->warn("Unhandled gravity decay factor");
mForce = nif->getFloat(); mForce = nif->getFloat();
mType = nif->getUInt(); mType = nif->getUInt();
mPosition = nif->getVector3(); mPosition = nif->getVector3();

Loading…
Cancel
Save