Skip to content

Commit

Permalink
Fixed Albeoris#896 lindblum light in non upscaled bgs
Browse files Browse the repository at this point in the history
  • Loading branch information
snouz committed Oct 5, 2024
1 parent 274b498 commit ed891fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Assembly-CSharp/Global/Field/Map/FieldMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,9 @@ private void UpdateOverlay(Int32 ovrNdx, BGOVERLAY_DEF bgOverlay, Vector2 realVr

foreach (int[] entry in FixDepthOfLayer)
{
if (entry[0] == FF9StateSystem.Common.FF9.fldMapNo && entry[1] == this.camIdx && entry[2] == ovrNdx)
if (Configuration.Graphics.TileSize == 32 && (entry[0] == 562 || entry[0] == 1309 || entry[0] == 2109))
{ }
else if (entry[0] == FF9StateSystem.Common.FF9.fldMapNo && entry[1] == this.camIdx && entry[2] == ovrNdx)
{
bgOverlay.curZ = (ushort)entry[3];
bgOverlay.transform.localPosition = new Vector3(bgOverlay.transform.localPosition.x, bgOverlay.transform.localPosition.y, entry[3]);
Expand Down

0 comments on commit ed891fb

Please # to comment.