From 41c67326bbad3662aaf4a05f3b7cf93b3977bda0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 30 Aug 2005 17:47:40 +0000 Subject: [PATCH] (shoo): Remove the arbitrary limit of 999 people to be shot. --- src/lib/commands/shoo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/commands/shoo.c b/src/lib/commands/shoo.c index 6d75c25c..724349ce 100644 --- a/src/lib/commands/shoo.c +++ b/src/lib/commands/shoo.c @@ -68,12 +68,10 @@ shoo(void) item = ip->i_vtype; if (!snxtsct(&nstr, player->argp[2])) return RET_SYN; - sprintf(prompt, "number of %s to shoot (max 999)? ", ip->i_name); + sprintf(prompt, "number of %s to shoot? ", ip->i_name); p = getstarg(player->argp[3], prompt, buf); if (p == 0 || (targets = atoi(p)) <= 0) return RET_SYN; - if (targets > 999) - targets = 999; while (nxtsct(&nstr, §)) { if (!player->owner) continue;