Improve item location code
This commit is contained in:
@@ -44,7 +44,7 @@ heldItemOffset itm cr
|
||||
| otherwise = id
|
||||
where
|
||||
handD = 15
|
||||
isroot = _itIsRoot itm
|
||||
isroot = _ilIsRoot $ _itLocation itm -- should make safe?
|
||||
handPos = case cr ^? crStance . carriage of
|
||||
Just (Walking x LeftForward) -> f x * 50
|
||||
_ -> 0
|
||||
|
||||
Reference in New Issue
Block a user