Move towards resolving picture rendering bug

The bug concerns a mutable vector storing the amount of data that has
been poked.
This commit is contained in:
2026-01-01 23:44:18 +00:00
parent 0a8725f68d
commit 2c978b4de1
19 changed files with 316 additions and 315 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ muzzleWallCheck w cr = fromMaybe cr $ do
let ps = reduceLocDT f loc ^.. each . _1 . _xy
cp = cr ^. crPos . _xy
r <- boundPointsRect (cp : ps)
let wls = uncurry wlsNearRect r w
let wls = uncurry wlsNearRect r w & filter (not . _wlTouchThrough)
vs = mapMaybe (g cp wls) ps
return $ if null vs
then cr