From 8798392e78dc9dd66504f82c4cd842fda89d34e1 Mon Sep 17 00:00:00 2001 From: "Derek S. Ray" Date: Sun, 21 Jun 2015 20:59:17 -0400 Subject: [PATCH] try not to miss ! marks --- src/steal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steal.c b/src/steal.c index d609650c4..7d2c993d1 100644 --- a/src/steal.c +++ b/src/steal.c @@ -345,7 +345,7 @@ gotobj: (otmp == uright && welded(uwep)) || (otmp == uleft && welded(uwep) && bimanual(uwep))); - if (ostuck || !can_carry(mtmp, otmp) > 0) { + if (ostuck || can_carry(mtmp, otmp) == 0) { static const char *const how[] = { "steal", "snatch", "grab", "take" }; cant_take: