Removed debug code
This commit is contained in:
parent
93a9e5e4c4
commit
7bf1789239
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue