projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7b25a
)
unit: fixed current actor comparison in unit->unit collision
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 21 Jun 2025 14:13:25 +0000
(16:13 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 21 Jun 2025 14:13:25 +0000
(16:13 +0200)
This check was just completely busted...
src/unit.s
patch
|
blob
|
history
diff --git
a/src/unit.s
b/src/unit.s
index 583f7bd50999199023822d3ecbbc813357d9dc42..6b6676227aed81f5ccab78d12b618bf70432ddb1 100644
(file)
--- 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: