Skip to content

Commit

Permalink
Readd TransList
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Aug 2, 2023
1 parent 954fe14 commit 90b1b55
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Source/lighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,14 @@ void DoVision(Point position, uint8_t radius, MapExplorationType doAutomap, bool

if (TileHasAny(dPiece[tileX][tileY], TileProperties::BlockLight))
break;

int8_t trans = dTransVal[tileX][tileY];
if (trans != 0)
TransList[trans] = true;
}
}
}






void MakeLightTable()
{
// Generate 16 gradually darker translation tables for doing lighting
Expand Down

0 comments on commit 90b1b55

Please sign in to comment.