diff --git a/src/MainGame/WorldMap.hs b/src/MainGame/WorldMap.hs index 3d4e47c..ae0b56c 100644 --- a/src/MainGame/WorldMap.hs +++ b/src/MainGame/WorldMap.hs @@ -395,12 +395,14 @@ drawTile ud ctx posanims pr pc row col img = all delimit mb where delimit b + | nnr > fst (matmax b) || nnc < snd (matmin b) = + True | nnr > fst (matmin b) && nnr < fst (matmax b) = nnc < snd (matmin b) | nnc > snd (matmin b) && nnc < snd (matmax b) = nnr > fst (matmax b) | otherwise = - True + False nnr = case mbnds of Just (Boundaries (minr, minc) (maxr, maxc)) -> maxr Nothing -> nr - fromIntegral ((floor nr) :: Int) :: Double