mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 21:12:13 +00:00
Fix Stumble damage floors damaging the player
This commit is contained in:
parent
42f140399f
commit
8b33c45cbd
1 changed files with 1 additions and 1 deletions
|
|
@ -2410,7 +2410,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
|
|
||||||
// Instawhip breaks the rules and does "damaging stumble",
|
// Instawhip breaks the rules and does "damaging stumble",
|
||||||
// but sting and stumble shouldn't be rewarding Battle hits otherwise.
|
// but sting and stumble shouldn't be rewarding Battle hits otherwise.
|
||||||
if ((type == DMG_STING || type == DMG_STUMBLE) && (inflictor && inflictor->type != MT_INSTAWHIP))
|
if ((type == DMG_STING || type == DMG_STUMBLE) && !(inflictor && inflictor->type == MT_INSTAWHIP))
|
||||||
{
|
{
|
||||||
damage = 0;
|
damage = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue