Nerf tripwire knockback to account for the lack of hitlag

This commit is contained in:
NepDisk 2025-02-08 18:08:29 -05:00
parent 48d836469d
commit ffe3b8e9ed
2 changed files with 3 additions and 3 deletions

View file

@ -3767,7 +3767,7 @@ void K_ApplyTripWire(player_t *player, tripwirestate_t state)
{
// We are either softlocked or wildly misbehaving. Stop that!
if (state == TRIPSTATE_BLOCKED && player->tripwireReboundDelay && (player->speed > 5 * K_GetKartSpeed(player, false, false)))
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_STING);
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_NORMAL);
if (state == TRIPSTATE_PASSED)
{

View file

@ -3145,8 +3145,8 @@ static void P_PlayerHitBounceLine(line_t *ld, vector2_t* normal)
if (ld && P_IsLineTripWire(ld))
{
tmxmove = x * 4;
tmymove = y * 4;
tmxmove = FixedMul(x, FRACUNIT+(FRACUNIT/2));
tmymove = FixedMul(y, FRACUNIT+(FRACUNIT/2));
}
else
{