mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 19:11:06 +00:00
- Exhumed: Slightly tune damage pushback from previous commit.
* The logic here is that the player's running/double speed velocity is scaled by 0.375 in `updatePlayerVelocity()`, so 0.1875 is half of that scale.
This commit is contained in:
parent
64745dff89
commit
64c47b0385
1 changed files with 2 additions and 2 deletions
|
@ -1784,8 +1784,8 @@ int runlist_CheckRadialDamage(DExhumedActor* pActor)
|
||||||
|
|
||||||
if (pActor->spr.statnum == 100)
|
if (pActor->spr.statnum == 100)
|
||||||
{
|
{
|
||||||
// The player's max vel is 15.25, so this at least 40.
|
// The player's max vel is 15.25 for reference.
|
||||||
pActor->vel.XY() += nVel.XY() * 0.125 * cl_exdamagepush;
|
pActor->vel.XY() += nVel.XY() * 0.1875 * cl_exdamagepush;
|
||||||
PlayerList[GetPlayerFromActor(pActor)].bJumping = true;
|
PlayerList[GetPlayerFromActor(pActor)].bJumping = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue