projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf06d6
)
update: fixed rendering of actors...
author
Lukas Krickl
<lukas@krickl.dev>
Thu, 1 Jan 2026 16:51:14 +0000
(17:51 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Thu, 1 Jan 2026 16:51:14 +0000
(17:51 +0100)
The code was in fact not correctly checking if an exit was present.
src/update.s
patch
|
blob
|
history
diff --git
a/src/update.s
b/src/update.s
index d763be2fbd1a43d2399b67e7ba87f4d55a5ebd66..8a5dd56889d4bb4bf788829abbc617d97fbb488d 100644
(file)
--- a/
src/update.s
+++ b/
src/update.s
@@
-41,10
+41,11
@@
update_game_over:
; check if we can go forward one more time
; if not jump to @done_act_draw
ld de, t_flags0
+ add hl, de
ld b, [hl]
ld a, [dir_tf_forward]
and a, b
- jp
n
z, @done_act_draw
+ jp z, @done_act_draw
#endmacro
update_game: