Merge branch 'remove-debug-code' into 'master'

Removed debug code

See merge request ynerant/squirrel-battle!62
This commit is contained in:
nicomarg 2021-01-09 18:49:20 +01:00
commit 1e5a268586
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