- Added new flag MF5_NOBLOODDECALS that prevents bleeding actors from spawning

blood decals.


SVN r424 (trunk)
This commit is contained in:
Christoph Oelckers 2006-12-24 12:51:24 +00:00
commit 558a18cf5c
4 changed files with 7 additions and 0 deletions

View file

@ -2932,6 +2932,7 @@ void P_TraceBleed (int damage, fixed_t x, fixed_t y, fixed_t z, AActor *actor, a
int noise;
if ((actor->flags & MF_NOBLOOD) ||
(actor->flags5 & MF5_NOBLOODDECALS) ||
(actor->flags2 & (MF2_INVULNERABLE|MF2_DORMANT)) ||
(actor->player && actor->player->cheats & CF_GODMODE))
{