projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbfdcaf
)
unit: unit swapping now seems to work correctly
author
Lukas Krickl
<lukas@krickl.dev>
Tue, 20 May 2025 16:10:37 +0000
(18:10 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Tue, 20 May 2025 16:10:37 +0000
(18:10 +0200)
Unit moves were not being reset correctly
src/unit.s
patch
|
blob
|
history
diff --git
a/src/unit.s
b/src/unit.s
index 73f9a85061bb1baa505b4a8a43eac81f23d46ee0..3d6cdb295192ecce7d3c2bce6dcd68f8e362c675 100644
(file)
--- a/
src/unit.s
+++ b/
src/unit.s
@@
-530,9
+530,8
@@
unit_reset_all_moves:
pop hl
ld de, act_size
add hl, de ; move to next act
-
dec b
- jr z, @loop REL
+ jr
n
z, @loop REL
ret