Skip to content

Commit

Permalink
Fix reading backlight power in NIF stream version 132
Browse files Browse the repository at this point in the history
  • Loading branch information
Capostrophic committed Apr 26, 2024
1 parent ec8675b commit 52bc744
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 52bc744

Please sign in to comment.