From a7518b7995cde6d23dc9847eeed558deb5ac6dba Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Wed, 4 Feb 2026 05:40:19 +0100 Subject: [PATCH] actor: fixed actor -> actor collision The stack here was messed up due to an incorrect jump. It is surprising this did not crash :^) --- src/actor.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/actor.s b/src/actor.s index fe57087..efe03c1 100644 --- a/src/actor.s +++ b/src/actor.s @@ -376,6 +376,7 @@ act_set_tact: call map_get_tile ; get tile + ld bc, t_act add hl, bc @@ -478,7 +479,7 @@ act_move_to: ; if not NULL do not move ld a, [hl+] or a, [hl] - jp nz, @hit + jp nz, @act_hit pop bc @@ -501,6 +502,7 @@ act_move_to: @hit: ; clean up stack pop de +@act_hit: pop de pop de -- 2.30.2