From 0ccf6fe6a95ff651fc02f672a4f06ebccb3fa01e Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Mon, 24 Oct 2016 12:43:54 +0100 Subject: [PATCH] I commented out this line a while ago because it didn't seem to be important, and flashingtics seems to be thoroughly set elsewhere. Here's an actual removal so it stands out on the git diff. --- src/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_inter.c b/src/p_inter.c index d038677db..3abb9aaca 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -3135,7 +3135,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da else { player->health -= damage; // mirror mobj health here - //target->player->powers[pw_flashing] = flashingtics; + if (damage > 0) // don't spill emeralds/ammo/panels for shield damage P_PlayerRingBurst(player, damage); }