From 13598967842d752d0a6a01e28e0c24ab6c0d5ecf Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 7 Jul 2002 15:25:23 +0000 Subject: [PATCH] eating conduct followup lost the non-EGG case when removing the unnecessary LEATHER, et al, checks. --- src/eat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/eat.c b/src/eat.c index 90c99a57e..b54cd5e03 100644 --- a/src/eat.c +++ b/src/eat.c @@ -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; -- 2.40.0