diff --git a/src/MainGame/WorldMap.hs b/src/MainGame/WorldMap.hs index b3ec5c2..16201d3 100644 --- a/src/MainGame/WorldMap.hs +++ b/src/MainGame/WorldMap.hs @@ -845,6 +845,7 @@ checkBoundsCollision2 -> V2 Double checkBoundsCollision2 pre@(V2 pr pc) nex dt acc (Boundaries (minr, minc) (maxr, maxc)) + | colltr < dt && colltc < dt = V2 0 0 | colltr < dt || colltc < dt = V2 0 0 | otherwise = acc where