From 6f569f0a27b039237cab62f4f4a46f31bea47ed5 Mon Sep 17 00:00:00 2001 From: PatR Date: Mon, 19 Feb 2024 11:30:00 -0800 Subject: [PATCH] beating dead horses Extend a joke that no one has ever seen in actual play. Clears out an old entry from 'git stash'. --- src/apply.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apply.c b/src/apply.c index 0d6c4c1db..5754a44c2 100644 --- a/src/apply.c +++ b/src/apply.c @@ -3007,7 +3007,10 @@ use_whip(struct obj *obj) can reach the floor so could just pick an item up, but allow snagging by whip too. */ otmp = gl.level.objects[u.ux][u.uy]; - if (otmp && otmp->otyp == CORPSE && otmp->corpsenm == PM_HORSE) { + if (otmp && otmp->otyp == CORPSE + && (otmp->corpsenm == PM_HORSE + || otmp->corpsenm == little_to_big(PM_HORSE) /* warhorse */ + || otmp->corpsenm == big_to_little(PM_HORSE))) { /* pony */ pline("Why beat a dead horse?"); return ECMD_TIME; }