from TraceJump.traceRightJumpAscent function, check (after we have reached ascent and if we have still not found nextPlatID in path) if we can find nextPlatID if we trace the descent path after having reached the ascent

This commit is contained in:
2025-01-29 19:24:03 +00:00
parent fac7a81767
commit 97a638b54d

View File

@@ -29,7 +29,7 @@ struct
fun traceRightJumpAscent (x, y, remainingJump, nextPlatID, platTree, nextPlatform) = fun traceRightJumpAscent (x, y, remainingJump, nextPlatID, platTree, nextPlatform) =
if remainingJump >= Constants.jumpLimit then if remainingJump >= Constants.jumpLimit then
false traceRightJumpDescent (x, y, nextPlatID, platTree)
else else
let let
val width = Constants.moveEnemyBy val width = Constants.moveEnemyBy