Commit before changes to creature inventory update

This commit is contained in:
2022-05-24 20:28:57 +01:00
parent 28e9adaea3
commit b4ec4019db
4 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ updateCloud w c
-- the following only tests for the first collision with a wall
hitWl = collidePointAnyWallsReflect oldPos2 newPos2 $ wallsNearPoint newPos2 w
finalPos = addZ (min 74 npz) $ maybe newPos2 fst hitWl
-- allowing clouds to height 75 causes graphical glitches 22.05.23
-- allowing clouds at/above height 75 causes graphical glitches 22.05.23
finalVel = addZ nvz $ maybe newVel2 snd hitWl
--updateCloud :: World -> Cloud -> Maybe Cloud