From: Lukas Krickl Date: Sat, 21 Jun 2025 14:13:25 +0000 (+0200) Subject: unit: fixed current actor comparison in unit->unit collision X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=c93f555d2b4e1e555f3eb3a6ffe25678a28a2085;p=gbrg%2F.git unit: fixed current actor comparison in unit->unit collision This check was just completely busted... --- diff --git a/src/unit.s b/src/unit.s index 583f7bd..6b66762 100644 --- a/src/unit.s +++ b/src/unit.s @@ -265,10 +265,10 @@ unit_collides_with_any_other: ; check if actor is current actor ld a, h - cp a, d + cp a, e jr nz, @no_skip REL ld a, l - cp a, l + cp a, d jr z, @skip REL @no_skip: