mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix top being dropped when players hit your items
This commit is contained in:
parent
80cccdcda7
commit
4a557010db
1 changed files with 0 additions and 6 deletions
|
|
@ -3229,12 +3229,6 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
player->emeralds = 0;
|
player->emeralds = 0;
|
||||||
K_CheckEmeralds(source->player);
|
K_CheckEmeralds(source->player);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Drop "shield" immediately on contact. */
|
|
||||||
if (source->player->curshield == KSHIELD_TOP)
|
|
||||||
{
|
|
||||||
Obj_GardenTopDestroy(source->player);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(damagetype & DMG_STEAL))
|
if (!(damagetype & DMG_STEAL))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue