Fix room shift for mounted lights
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -107,8 +107,8 @@ posRms prs parenti@(parent, _) ((numChild, t@(Node childi _)) : its) tseq = do
|
|||||||
.:~ RoomPos
|
.:~ RoomPos
|
||||||
--{ _rpPos = fst (lnkPosDir outlnk)
|
--{ _rpPos = fst (lnkPosDir outlnk)
|
||||||
--, _rpDir = snd (lnkPosDir outlnk)
|
--, _rpDir = snd (lnkPosDir outlnk)
|
||||||
{ _rpPos = outlnk ^. rlPos
|
{ _rpPos = il ^. rlPos
|
||||||
, _rpDir = outlnk ^. rlDir
|
, _rpDir = il ^. rlDir
|
||||||
, _rpType = S.empty
|
, _rpType = S.empty
|
||||||
, _rpLinkStatus = UsedInLink (_rlType il) (snd parenti)
|
, _rpLinkStatus = UsedInLink (_rlType il) (snd parenti)
|
||||||
, _rpPlacementUse = mempty
|
, _rpPlacementUse = mempty
|
||||||
|
|||||||
Reference in New Issue
Block a user