projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4f480
)
unit: removed debu BREAKs
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 21 Jun 2025 11:02:32 +0000
(13:02 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 21 Jun 2025 11:02:32 +0000
(13:02 +0200)
src/unit.s
patch
|
blob
|
history
diff --git
a/src/unit.s
b/src/unit.s
index 8cc4457041cd1bc571563625567926decc2f8229..1bdf21afdb9a7ec604bc89fd9d6c7d4c97697e84 100644
(file)
--- a/
src/unit.s
+++ b/
src/unit.s
@@
-268,7
+268,6
@@
unit_collides_with_any_other:
ld hl, p0_units
ld a, UNITS_MAX ; loop counter
- BREAK
@loop:
push de ; save current actor on stack
push bc
@@
-323,7
+322,6
@@
unit_collides_with_any_other:
ld a, d
ld [hl], a
- BREAK
; if we get here clean up the stack
; and set the CF_COLLISION flag
ld a, CF_COLLISION