Tweak swim hitbox for new sprites

main
En Yi 2025-08-31 18:08:52 +08:00
parent d4bc574d09
commit 595b778066
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ void player_bbox_update_system(Scene_t* scene)
p_hurtbox->size = p_bbox->size;
p_hurtbox->size.x *= EXTENDED_WIDTH_FACTOR;
p_hitbox->boxes[0].width = extended_width;
p_hitbox->boxes[1].width = extended_width + 4;
p_hitbox->boxes[1].width = extended_width;
AnchorPoint_t anchor = p_mstate->x_dir > 0 ? AP_TOP_RIGHT : AP_TOP_LEFT;
Vector2 offset = shift_bbox(