Skip to content

Commit

Permalink
Fixed bug in jHexen which prevented clerics from taking damage from t…
Browse files Browse the repository at this point in the history
…heir own throwing bombs.
  • Loading branch information
danij committed Jul 8, 2008
1 parent e346dd8 commit 66ecf46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/common/src/p_map.c
Expand Up @@ -2063,7 +2063,7 @@ boolean PIT_RadiusAttack(mobj_t *thing, void *data)
*/
#if __JHEXEN__
void P_RadiusAttack(mobj_t *spot, mobj_t *source, int damage, int distance,
boolean damageSource)
boolean canDamageSource)
#else
void P_RadiusAttack(mobj_t *spot, mobj_t *source, int damage, int distance)
#endif
Expand All @@ -2090,7 +2090,7 @@ void P_RadiusAttack(mobj_t *spot, mobj_t *source, int damage, int distance)
bombSource = source;

#if __JHEXEN__
damageSource = damageSource;
damageSource = canDamageSource;
#endif

P_MobjsBoxIterator(box, PIT_RadiusAttack, 0);
Expand Down

0 comments on commit 66ecf46

Please sign in to comment.