Use enum value, not hardcoded number
This commit is contained in:
+1
-1
@@ -1354,7 +1354,7 @@ finish_meating(struct monst *mtmp)
|
|||||||
mtmp->meating = 0;
|
mtmp->meating = 0;
|
||||||
if (M_AP_TYPE(mtmp) && mtmp->mappearance && mtmp->cham == NON_PM) {
|
if (M_AP_TYPE(mtmp) && mtmp->mappearance && mtmp->cham == NON_PM) {
|
||||||
/* was eating a mimic and now appearance needs resetting */
|
/* was eating a mimic and now appearance needs resetting */
|
||||||
mtmp->m_ap_type = 0;
|
mtmp->m_ap_type = M_AP_NOTHING;
|
||||||
mtmp->mappearance = 0;
|
mtmp->mappearance = 0;
|
||||||
newsym(mtmp->mx, mtmp->my);
|
newsym(mtmp->mx, mtmp->my);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user