when tracing left jump, consider the enemy's 'x' coordinate to be the leftmost point of the enemy

This commit is contained in:
2025-01-30 08:21:15 +00:00
parent 73b4e607ae
commit 859414035d
3 changed files with 10 additions and 77 deletions

View File

@@ -124,7 +124,6 @@ struct
fun traceLeftJump (enemy: GameType.enemy, nextPlatID, platTree) =
let
val {x, y, ...} = enemy
val x = x + Constants.enemySize
open GameType
in