eating conduct followup

lost the non-EGG case when removing the unnecessary LEATHER, et al, checks.
This commit is contained in:
cohrs
2002-07-07 15:25:23 +00:00
parent 4a5b7ef893
commit 1359896784

View File

@@ -1938,8 +1938,9 @@ doeat() /* generic "eat" command funtion (see cmd.c) */
* all handled in the != FOOD_CLASS case, above */
switch (objects[otmp->otyp].oc_material) {
case FLESH:
if (otmp->otyp == EGG) {
u.uconduct.unvegan++;
u.uconduct.unvegan++;
if (otmp->otyp != EGG) {
violated_vegetarian();
}
break;