Use enum value, not hardcoded number

This commit is contained in:
Pasi Kallinen
2021-08-24 11:34:28 +03:00
parent 6ffa912359
commit a1b927a278

View File

@@ -1354,7 +1354,7 @@ finish_meating(struct monst *mtmp)
mtmp->meating = 0;
if (M_AP_TYPE(mtmp) && mtmp->mappearance && mtmp->cham == NON_PM) {
/* was eating a mimic and now appearance needs resetting */
mtmp->m_ap_type = 0;
mtmp->m_ap_type = M_AP_NOTHING;
mtmp->mappearance = 0;
newsym(mtmp->mx, mtmp->my);
}