Removed debug code

This commit is contained in:
Nicolas Margulies 2021-01-09 18:45:55 +01:00
parent 93a9e5e4c4
commit 7bf1789239

View File

@ -254,8 +254,6 @@ class Map:
if x + y > max_range:
continue
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\
or ((y != top_y or top >= Slope(y, x))
and (y != bottom_y