Fixed BG3 priority in 16-bit gfx engines

This commit is contained in:
pagefault
2001-09-05 22:53:13 +00:00
parent 0b0f9f5922
commit bd7a3dba21

View File

@@ -560,6 +560,10 @@ NEWSYM newengine16b
mov dword[palchanged],0 mov dword[palchanged],0
; BG3 Priority ; BG3 Priority
or [bgcmsung],ebx
mov [BGMS1+eax*2],ebx
cmp [BGMS1+eax*2-2],bx
je near .ngmsdraw0
mov bl,[bg3highst] mov bl,[bg3highst]
mov [BG3PRI+eax],bl mov [BG3PRI+eax],bl
cmp [BG3PRI+eax-1],bl cmp [BG3PRI+eax-1],bl