mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
AI players no longer take shield damage in Ultimate mode
This commit is contained in:
parent
73146a8338
commit
637490e2de
1 changed files with 1 additions and 1 deletions
|
@ -3582,7 +3582,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
else if (LUAh_MobjDamage(target, inflictor, source, damage, damagetype))
|
||||
return true;
|
||||
#endif
|
||||
else if (player->powers[pw_shield] || player->bot) //If One-Hit Shield
|
||||
else if (player->powers[pw_shield] || player->bot && !ultimatemode) //If One-Hit Shield
|
||||
{
|
||||
P_ShieldDamage(player, inflictor, source, damage, damagetype);
|
||||
damage = 0;
|
||||
|
|
Loading…
Reference in a new issue