From 0cc134bb95a2bd3c65f21dde40ba677dfcbf550a Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 18 Jun 2024 14:12:21 -0700 Subject: [PATCH] \#force feedback A fairly recent change to improve the message given when hero isn't able to force a locked chest due to type of weapon or weapons being wielded had one of the text substitutions backwards. If wielding 1 dart, it gave |You can't force anything with those weapon. and if wielding more than 1, |You can't force anything with that weapons. --- src/lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lock.c b/src/lock.c index 417e07942..3cf20a669 100644 --- a/src/lock.c +++ b/src/lock.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 lock.c $NHDT-Date: 1713657045 2024/04/20 23:50:45 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.136 $ */ +/* NetHack 3.7 lock.c $NHDT-Date: 1718745135 2024/06/18 21:12:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.137 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Robert Patrick Rankin, 2011. */ /* NetHack may be freely redistributed. See license for details. */ @@ -688,7 +688,7 @@ doforce(void) !uwep ? "when not wielding a" : (uwep->oclass != WEAPON_CLASS && !is_weptool(uwep)) ? (use_plural ? "without proper" : "without a proper") - : (use_plural ? "with that" : "with those"), + : (use_plural ? "with those" : "with that"), use_plural ? "s" : ""); return ECMD_OK; }