Work on cleaning up item effects/attachments etc
This commit is contained in:
@@ -24,7 +24,7 @@ copyItemToFloorID pos it w = (,) flid $ w'
|
||||
(p',w') = findWallFreeDropPoint (_dimRad $ _itDimension it) pos w
|
||||
rot = fst . randomR (-pi,pi) $ _randGen w
|
||||
updateLocation = case it ^? itID of
|
||||
Just (Just i') -> cWorld . itemPositions . ix i' .~ OnFloor flid
|
||||
Just (Just i') -> cWorld . itemLocations . ix i' .~ OnFloor flid
|
||||
_ -> id
|
||||
flid = IM.newKey $ _floorItems (_cWorld w)
|
||||
theflit = FlIt
|
||||
|
||||
Reference in New Issue
Block a user