mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
Let skins jump their regular strength variances in NiGHTS
This commit is contained in:
parent
b1ddcb644e
commit
2eb1b5186c
1 changed files with 2 additions and 2 deletions
|
|
@ -4006,8 +4006,8 @@ void P_DoJump(player_t *player, boolean soundandstate)
|
|||
if (player->charflags & SF_MULTIABILITY && player->charability == CA_DOUBLEJUMP)
|
||||
factor -= max(0, player->secondjump * player->jumpfactor / ((player->actionspd >> FRACBITS) + 1)); // Reduce the jump height each time
|
||||
|
||||
if (maptol & TOL_NIGHTS)
|
||||
factor = player->jumpfactor; // all skins jump the same
|
||||
//if (maptol & TOL_NIGHTS)
|
||||
// factor = player->jumpfactor; // all skins jump the same. if you nerf jumping abilities, you may want this.
|
||||
|
||||
P_SetObjectMomZ(player->mo, FixedMul(factor, player->mo->momz), false); // Custom height
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue