Adjust formula.

This commit is contained in:
Mari the Deer 2020-09-12 12:27:56 +02:00
commit 4382e50c41
2 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\chSWWM \cwGZ\c- r537 (Sat 12 Sep 12:16:39 CEST 2020)";
SWWM_MODVER="\chSWWM \cwGZ\c- r537 (Sat 12 Sep 12:27:56 CEST 2020)";

View file

@ -488,11 +488,11 @@ Class Demolitionist : PlayerPawn
oldlagpitch = lagpitch;
lagangle = lagangle*.8+angle*.2;
lagpitch = lagpitch*.8+pitch*.2;
if ( (player.playerstate != PST_DEAD) && (player.jumptics != 0) && player.onground )
if ( (player.playerstate != PST_DEAD) && (player.jumptics != 0) )
{
// faster falloff
player.jumptics -= 2;
if ( player.jumptics < -18 )
player.jumptics -= 5;
if ( player.onground && (player.jumptics < -18) )
player.jumptics = 0;
}
}