Skip to content

Commit

Permalink
Fixed missing initialization for var damageDone in jHexen's P_DamageM…
Browse files Browse the repository at this point in the history
…obj when the inflictor is a PoisonCloud.
  • Loading branch information
danij committed Oct 30, 2008
1 parent e4bd5d0 commit 2a8149b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/jhexen/src/p_inter.c
Expand Up @@ -1777,7 +1777,7 @@ int P_DamageMobj(mobj_t* target, mobj_t* inflictor, mobj_t* source,
case MT_POISONCLOUD:
if(target->player)
{
int damageDone;
int damageDone = 0;

if(target->player->poisonCount < 4)
{
Expand Down

0 comments on commit 2a8149b

Please sign in to comment.