(fly): Check for player aborting the command at the `transport what?'
prompt. Closes #771801.
This commit is contained in:
parent
ca517d5a44
commit
21a39fd9dd
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue