Allow uncrouching under wooden crates

scene_man
En Yi 2023-07-04 23:46:42 +08:00
parent 4414747c79
commit 82efc711d0
1 changed files with 2 additions and 2 deletions

View File

@ -774,10 +774,10 @@ void player_bbox_update_system(Scene_t* scene)
}
if (
!check_collision_offset(
check_collision_offset(
p_player, p_ctransform->position, new_bbox,
&tilemap, offset
)
) != 1
)
{
set_bbox(p_bbox, new_bbox.x, new_bbox.y);