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

@@ -972,6 +972,7 @@ register struct attack *mattk;
mhm.hitflags = MM_MISS;
mhm.permdmg = 0;
mhm.specialdmg = 0;
mhm.done = FALSE;
if (!canspotmon(mtmp))
map_invisible(mtmp->mx, mtmp->my);