:patrick_mouth:

This commit is contained in:
yamamama 2025-12-24 22:55:39 -05:00
parent 33ca21b9f2
commit 0adff9842c

View file

@ -5197,7 +5197,8 @@ static void P_ProcessPogoSpring(player_t *player, boolean isTouching, int type)
return;
}
const fixed_t hscale = mapobjectscale + (mapobjectscale - player->mo->scale);
const fixed_t playerscale = max(mapobjectscale, player->mo->scale);
const fixed_t hscale = mapobjectscale + (mapobjectscale - playerscale);
const fixed_t minspeed = 24*hscale;
const fixed_t maxspeed = 28*hscale;
angle_t pushangle = FixedHypot(player->mo->momx, player->mo->momy) ? R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy) : player->mo->angle;