From 07f7d1d3c366db1cfed230009b3325249b941f85 Mon Sep 17 00:00:00 2001 From: soundmud Date: Sat, 1 Aug 2020 15:01:57 +0200 Subject: [PATCH] interface: removed collisions between water and low ground --- soundrts/clientgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soundrts/clientgame.py b/soundrts/clientgame.py index 26842d8e..6a6499d8 100644 --- a/soundrts/clientgame.py +++ b/soundrts/clientgame.py @@ -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)