wrong enum, thanks gcc

This commit is contained in:
Enno Rehling 2016-11-14 20:33:26 +01:00
parent ae0d5f53bf
commit e293741997
1 changed files with 1 additions and 1 deletions

View File

@ -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.
*/