Skip to content

Commit

Permalink
Merge branch 'morefunfallout4discoveries' into 'master'
Browse files Browse the repository at this point in the history
Fix reading BSLightingShaderProperty backlight power in NIF Bethesda stream version 132

See merge request OpenMW/openmw!4058
  • Loading branch information
psi29a committed Apr 28, 2024
2 parents 3e63b50 + 52bc744 commit 1eb6b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/nif/property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1eb6b32

Please sign in to comment.