(deli): Break the loop if player->aborted. Without that, it can

prompt for more input, violating the client protocol.
This commit is contained in:
Markus Armbruster 2005-09-23 17:37:28 +00:00
parent fee8ac9d8f
commit 5357aa15b9

View file

@ -66,7 +66,7 @@ deli(void)
if (!snxtsct(&nstr, player->argp[2])) if (!snxtsct(&nstr, player->argp[2]))
return RET_SYN; return RET_SYN;
while (nxtsct(&nstr, &sect) > 0) { while (!player->aborted && nxtsct(&nstr, &sect) > 0) {
if (!player->owner) if (!player->owner)
continue; continue;