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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user