Skip to content

Commit

Permalink
Merge pull request #244 from Xele02/FixBranche
Browse files Browse the repository at this point in the history
Fix 2d background dimmer not working
  • Loading branch information
Xele02 authored Aug 28, 2024
2 parents 4601936 + be367ed commit 414ac9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void ApplyDimmer()
// // RVA: 0x110A728 Offset: 0x110A728 VA: 0x110A728
private void ApplyDimmer(RawImage image, int value, DimmerTblIndex index)
{
int v = DimmerTbl[(int)index, value];
float v = DimmerTbl[(int)index, value] / 255.0f;
image.color = new Color(v, v, v);
}

Expand Down

0 comments on commit 414ac9b

Please sign in to comment.