Skip to content

Commit

Permalink
interface: removed collisions between water and low ground
Browse files Browse the repository at this point in the history
  • Loading branch information
soundmud committed Aug 1, 2020
1 parent 2d4f4a5 commit 07f7d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soundrts/clientgame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ def _get_prefix_and_collision(self, new_square, dxc, dyc):
if new_square is self.place:
return style.get("parameters", "no_path_in_this_direction"), True
if (self.place not in self.scouted_before_squares
or self.place.is_water and new_square.is_water
or (self.place.is_water or new_square.is_water) and self.place.height == new_square.height
or self._shouldnt_collide):
return [], False
exits = [o for o in list(self.dobjets.values()) if o.is_in(self.place)
Expand Down

0 comments on commit 07f7d1d

Please sign in to comment.