From e2937419970e1af6998f342a0793a62dfc675e0e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 14 Nov 2016 20:33:26 +0100 Subject: [PATCH] wrong enum, thanks gcc --- src/give.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/give.c b/src/give.c index b973b90f3..781f39ca6 100644 --- a/src/give.c +++ b/src/give.c @@ -608,7 +608,7 @@ void give_cmd(unit * u, order * ord) cmistake(u, ord, 40, MSG_COMMERCE); return; } - else if (p == NOKEYWORD) { + else if (p == NOPARAM) { /* the most likely case: giving items to someone. * let's catch this and save ourselves the rest of the param_t checks. */