mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +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);
|
||||
|
||||
/*unknown*/nif->getFloat();
|
||||
float decay = nif->getFloat();
|
||||
if (decay != 0.f)
|
||||
nif->file->warn("Unhandled gravity decay factor");
|
||||
|
||||
mForce = nif->getFloat();
|
||||
mType = nif->getUInt();
|
||||
mPosition = nif->getVector3();
|
||||
|
Loading…
Reference in New Issue
Block a user