mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Wipeout items bounce you
This commit is contained in:
parent
2c580951f8
commit
78e54c679e
1 changed files with 1 additions and 1 deletions
|
|
@ -3325,7 +3325,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
damage = player->mo->health - 1;
|
damage = player->mo->health - 1;
|
||||||
P_RingDamage(player, inflictor, source, damage);
|
P_RingDamage(player, inflictor, source, damage);
|
||||||
P_PlayerRingBurst(player, 5);
|
P_PlayerRingBurst(player, 5);
|
||||||
player->mo->momx = player->mo->momy = 0;
|
K_KartBouncing(player->mo, inflictor, false, false);
|
||||||
if (P_IsLocalPlayer(player))
|
if (P_IsLocalPlayer(player))
|
||||||
{
|
{
|
||||||
quake.intensity = 32*FRACUNIT;
|
quake.intensity = 32*FRACUNIT;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue