Update src/event_object_movement.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
8cf2933658
commit
61c95421eb
1 changed files with 1 additions and 1 deletions
|
@ -4633,7 +4633,7 @@ u8 GetCollisionAtCoords(struct ObjectEvent *objectEvent, s16 x, s16 y, u32 dir)
|
||||||
#if TX_DEBUG_SYSTEM == TRUE
|
#if TX_DEBUG_SYSTEM == TRUE
|
||||||
if (FlagGet(FLAG_SYS_NO_COLLISION))
|
if (FlagGet(FLAG_SYS_NO_COLLISION))
|
||||||
return COLLISION_NONE;
|
return COLLISION_NONE;
|
||||||
#endif //
|
#endif
|
||||||
|
|
||||||
if (IsCoordOutsideObjectEventMovementRange(objectEvent, x, y))
|
if (IsCoordOutsideObjectEventMovementRange(objectEvent, x, y))
|
||||||
return COLLISION_OUTSIDE_RANGE;
|
return COLLISION_OUTSIDE_RANGE;
|
||||||
|
|
Loading…
Reference in a new issue