Commit before attempting to simplify creature update
This commit is contained in:
@@ -12,7 +12,7 @@ updateWalkCycle :: Int -> World -> World
|
||||
updateWalkCycle cid w
|
||||
| Just cr <- w ^? cWorld . lWorld . creatures . ix 0
|
||||
, Walking x ff <- cr ^. crStance . carriage
|
||||
, x > cr ^. crStance . strideLength =
|
||||
, x >= cr ^. crStance . strideLength =
|
||||
w
|
||||
& soundMultiFrom
|
||||
[FootstepSound i | i <- [0 .. 10]]
|
||||
|
||||
Reference in New Issue
Block a user