Fix the mtrack memset

This commit is contained in:
Pasi Kallinen
2016-01-06 18:15:04 +02:00
parent c2ceb88d3c
commit 785aba242a
3 changed files with 3 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ boolean fleemsg;
mtmp->mflee = 1;
}
/* ignore recently-stepped spaces when made to flee */
memset(mtmp->mtrack, MTSZ, sizeof(coord));
memset(mtmp->mtrack, 0, sizeof(mtmp->mtrack));
}
STATIC_OVL void