Sprite disappearing bug in new graphics engine fixed (eg. Lufia 2)
This commit is contained in:
@@ -420,6 +420,8 @@ NEWSYM newengine8b
|
|||||||
mov dh,[winlogicb]
|
mov dh,[winlogicb]
|
||||||
and dh,03h
|
and dh,03h
|
||||||
; Same as previous line?
|
; Same as previous line?
|
||||||
|
cmp dword[objwlrpos+eax*4-4],0FFFFFFFFh
|
||||||
|
je .changed
|
||||||
cmp [objwlrpos+eax*4-4],ebx
|
cmp [objwlrpos+eax*4-4],ebx
|
||||||
jne .changedb
|
jne .changedb
|
||||||
cmp [objwen+eax*2-2],dx
|
cmp [objwen+eax*2-2],dx
|
||||||
|
|||||||
@@ -945,6 +945,8 @@ NEWSYM newengine16b
|
|||||||
mov dh,[winlogicb]
|
mov dh,[winlogicb]
|
||||||
and dh,03h
|
and dh,03h
|
||||||
; Same as previous line?
|
; Same as previous line?
|
||||||
|
cmp dword[objwlrpos+eax*4-4],0FFFFFFFFh
|
||||||
|
je .changed
|
||||||
cmp [objwlrpos+eax*4-4],ebx
|
cmp [objwlrpos+eax*4-4],ebx
|
||||||
jne .changedb
|
jne .changedb
|
||||||
cmp [objwen+eax*2-2],dx
|
cmp [objwen+eax*2-2],dx
|
||||||
|
|||||||
Reference in New Issue
Block a user