Disable collision checking natively in DOS port IsTilePassable

This commit is contained in:
Happyarch
2026-06-17 23:35:45 -04:00
parent fec088bd02
commit d5b1ca7dcd

View File

@@ -1147,19 +1147,8 @@ GetTileInFrontOfPlayer:
; Clobbers AL, ESI.
; ---------------------------------------------------------------------------
IsTilePassable:
movzx esi, word [ebp + W_TILESET_COLLISION_PTR]
.loop:
mov al, [ebp + esi]
inc esi
cmp al, 0xFF
je .notPassable
cmp al, cl
jne .loop
clc
ret
.notPassable:
stc
ret
; ---------------------------------------------------------------------------
; LoadMapHeader — faithful translation.