mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:59:54 +00:00
Merge branch 'morefunfallout4discoveries' into 'master'
Fix reading BSLightingShaderProperty backlight power in NIF Bethesda stream version 132 See merge request OpenMW/openmw!4058
This commit is contained in:
commit
1eb6b322a7
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ namespace Nif
|
|||
{
|
||||
nif->read(mSubsurfaceRolloff);
|
||||
nif->read(mRimlightPower);
|
||||
if (nif->getBethVersion() == 130 && mRimlightPower == std::numeric_limits<float>::max())
|
||||
if (mRimlightPower == std::numeric_limits<float>::max())
|
||||
nif->read(mBacklightPower);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue