Allow chunk debris to fall down chasms

This commit is contained in:
2025-08-02 22:49:10 +01:00
parent 5722ca8204
commit ae24720762
4 changed files with 59 additions and 59 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ module Dodge.Prop.Draw (
debrisSPic,
) where
import Dodge.Material.Color
import Dodge.Block.Debris
import Control.Lens
import Dodge.Data.Prop
@@ -22,7 +21,7 @@ debrisSPic :: Debris -> SPic
debrisSPic db = translateSP (_dbPos db) . overPosSP (Q.rotate (_dbRot db)) $
case db ^. dbType of
Gib x col -> noPic $ drawGib x col
BlockDebris m -> noPic . colorSH (materialColor m) $ cubeShape 4
BlockDebris m -> noPic . colorSH m $ cubeShape 4
drawProp :: PropDraw -> Prop -> SPic
drawProp = \case