Init the done variable to false

This commit is contained in:
Pasi Kallinen
2020-12-01 19:36:19 +02:00
parent 4fb370ee79
commit 1f6a7a5eef
3 changed files with 3 additions and 0 deletions

View File

@@ -865,6 +865,7 @@ int dieroll;
mhm.permdmg = 0;
mhm.specialdmg = 0;
mhm.dieroll = dieroll;
mhm.done = FALSE;
if ((touch_petrifies(pd) /* or flesh_petrifies() */
|| (mattk->adtyp == AD_DGST && pd == &mons[PM_MEDUSA]))