Fix spring hitbox

This commit is contained in:
Lucas S. Vieira 2025-01-23 01:17:17 -03:00
parent 78b4c79a11
commit d85f6495cf

View file

@ -363,9 +363,9 @@ static void
_spring_update(ObjectState *state, ObjectTableEntry *, VECTOR *pos, uint8_t is_red)
{
if(state->anim_state.animation == 0) {
int32_t solidity_vx = pos->vx - 16;
int32_t solidity_vx = pos->vx - 15;
int32_t solidity_vy = pos->vy - 16; // Spring is 32x16 solid
int32_t solidity_w = 32;
int32_t solidity_w = 31;
int32_t solidity_h = 16;
if(state->flipmask & MASK_FLIP_ROTCW) {