(set): Fix the previous revision.

This commit is contained in:
Markus Armbruster 2005-10-27 23:23:42 +00:00
parent 2fc1e74a72
commit 0f6c4296b1

View file

@ -80,7 +80,7 @@ set(void)
if ((p = getstarg(player->argp[1], "Ship, plane, land unit or nuke? ", buf)) == 0) if ((p = getstarg(player->argp[1], "Ship, plane, land unit or nuke? ", buf)) == 0)
return RET_SYN; return RET_SYN;
if ((type = ef_byname_from(p, ef_saleable)) < 0) { if ((type = ef_byname_from(p, ef_saleable)) < 0) {
pr("You can sell only ships, planes, land units or nukes\n", p); pr("You can sell only ships, planes, land units or nukes\n");
return RET_SYN; return RET_SYN;
} }
if (!snxtitem(&ni, type, player->argp[2])) if (!snxtitem(&ni, type, player->argp[2]))