Fix no damage to walls bug
This commit is contained in:
@@ -5,8 +5,12 @@ import Data.Maybe
|
||||
import Dodge.Data.GenWorld
|
||||
import Geometry
|
||||
|
||||
spNoID :: PlacementSpot -> PSType -> Placement
|
||||
spNoID ps pst = Placement 10 ps pst Nothing (const . const Nothing)
|
||||
--spNoID
|
||||
psPtPl :: PlacementSpot -> PSType -> Placement
|
||||
psPtPl ps pst = Placement 10 ps pst Nothing (const . const Nothing)
|
||||
|
||||
psPtJpl :: PlacementSpot -> PSType -> Maybe Placement
|
||||
psPtJpl ps = Just . psPtPl ps
|
||||
|
||||
pContID :: PlacementSpot -> PSType -> (Int -> Maybe Placement) -> Placement
|
||||
pContID ps pt = Placement 10 ps pt Nothing . contToIDCont
|
||||
|
||||
Reference in New Issue
Block a user