slight fixes
This commit is contained in:
@ -274,7 +274,7 @@ func (ps *precomputedShade) ComputeFov(level *gamemap.Level, initCoords types.Co
|
||||
for _, maybeNb := range ps.CellList {
|
||||
if //int(maybeNb.distance) == int(cell.distance-1) &&
|
||||
maybeNb.IsAdjacentTo(&cell.Coords) &&
|
||||
(maybeNb.X == cell.X || maybeNb.Y == cell.Y) &&
|
||||
//(maybeNb.X == cell.X || maybeNb.Y == cell.Y) &&
|
||||
maybeNb.lit > 0 { //magic constant!
|
||||
level.GetTile(cs).Visible = true
|
||||
level.GetTile(cs).Explored = true
|
||||
|
Reference in New Issue
Block a user