try not to miss ! marks

This commit is contained in:
Derek S. Ray
2015-06-21 20:59:17 -04:00
parent 2224df66f0
commit 8798392e78

View File

@@ -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: