mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
Identify unknown float in NiGravity
This commit is contained in:
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…
Reference in New Issue
Block a user