:patrick_mouth:
This commit is contained in:
parent
33ca21b9f2
commit
0adff9842c
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue