Removed debug code

This commit is contained in:
Nicolas Margulies 2021-01-09 18:45:55 +01:00
parent 93a9e5e4c4
commit 7bf1789239
1 changed files with 0 additions and 2 deletions

View File

@ -254,8 +254,6 @@ class Map:
if x + y > max_range: if x + y > max_range:
continue continue
is_opaque = self.is_wall(y, x, octant, origin) is_opaque = self.is_wall(y, x, octant, origin)
if y == top_y and octant == 7 and x == 4:
self.logs.add_message(f"{x}, {y}, {top.X}, {top.Y}")
is_visible = is_opaque\ is_visible = is_opaque\
or ((y != top_y or top >= Slope(y, x)) or ((y != top_y or top >= Slope(y, x))
and (y != bottom_y and (y != bottom_y