Use circles instead of points for zome wall zones

This commit is contained in:
2026-02-03 13:48:15 +00:00
parent be6acfa58b
commit db24b0ffa6
8 changed files with 11 additions and 7 deletions
+3 -1
View File
@@ -912,7 +912,9 @@ simpleCrSprings w =
-- note that this may in rare cases not push creatures away from each other
crSpring :: Creature -> World -> World
crSpring c w = foldl' (flip $ crCrSpring c) w $ crsNearPoint (c ^. crPos . _xy) w
--crSpring c w = foldl' (flip $ crCrSpring c) w $ crsNearPoint (c ^. crPos . _xy) w
crSpring c w = foldl' (flip $ crCrSpring c) w $ crsNearCirc (c ^. crPos . _xy)
(crRad $ c ^. crType) w
crCrSpring :: Creature -> Creature -> World -> World
crCrSpring c1 c2