From 92451f1fff194355ccc4c770ddc54944ec7fda6a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 23 Sep 2024 05:08:11 -0400 Subject: [PATCH] Eliminate thew last property inequality outside a macro. --- actions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/actions.c b/actions.c index e5f2e70..1786c53 100644 --- a/actions.c +++ b/actions.c @@ -329,8 +329,7 @@ static phase_codes_t vcarry(verb_t verb, obj_t obj) { if (game.objects[obj].fixed != IS_FREE) { switch (obj) { case PLANT: - /* Next guard tests whether plant is tiny or stashed */ - rspeak(game.objects[PLANT].prop <= PLANT_THIRSTY + rspeak((game.objects[PLANT].prop == PLANT_THIRSTY || OBJECT_IS_STASHED(PLANT)) ? DEEP_ROOTS : YOU_JOKING); break; -- 2.31.1