Skip to content

Commit

Permalink
Fixed (jHexen): "HeXen: Melee weapons not drawing blood" (see here ht…
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Jun 5, 2009
1 parent 4ccad05 commit 7affb53
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doomsday/plugins/common/src/p_map.c
Expand Up @@ -1788,12 +1788,14 @@ if(lineWasHit)
#if __JDOOM__ || __JDOOM64__
P_SpawnBlood(pos[VX], pos[VY], pos[VZ], lineAttackDamage,
attackAngle + ANG180);
#elif __JHEXEN__
#else
# if __JHEXEN__
if(PuffType == MT_AXEPUFF || PuffType == MT_AXEPUFF_GLOW)
{
P_SpawnBloodSplatter2(pos[VX], pos[VY], pos[VZ], in->d.mo);
}
#else
else
# endif
if(P_Random() < 192)
P_SpawnBloodSplatter(pos[VX], pos[VY], pos[VZ], in->d.mo);
#endif
Expand Down

0 comments on commit 7affb53

Please sign in to comment.