summaryrefslogtreecommitdiff
path: root/engine/map_objects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/map_objects.asm')
-rw-r--r--engine/map_objects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/map_objects.asm b/engine/map_objects.asm
index c7ac32fcc..d30f363c0 100644
--- a/engine/map_objects.asm
+++ b/engine/map_objects.asm
@@ -2780,7 +2780,7 @@ Function5629: ; 5629
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, bc
ld a, [hl]
- cp MAPOBJECT_NOT_VISIBLE
+ cp -1
ret z
cp $d
ret nc