(fly): Check for player aborting the command at the `transport what?'

prompt.  Closes #771801.
This commit is contained in:
Markus Armbruster 2005-09-25 16:39:44 +00:00
parent ca517d5a44
commit 21a39fd9dd

View file

@ -95,6 +95,8 @@ fly(void)
(void)pathtoxy(flightpath, &tx, &ty, fcost);
pr("Ending sector is %s\n", xyas(tx, ty, player->cnum));
ip = whatitem(player->argp[5], "transport what? ");
if (player->aborted)
return RET_SYN;
getsect(tx, ty, &target);
cno = -1;