if (!snxtitem(&nbst, type, ptr))
return RET_SYN;
- if (player->aborted) {
- pr("Fire aborted.\n");
- return RET_OK;
- }
while (nxtitem(&nbst, &item)) {
if (type == EF_LAND) {
if (!getland(item.land.lnd_uid, &fland))
fy = fsect.sct_y;
}
- if ((ptr = getstarg(player->argp[3], "Firing at? ", buf)) == 0
- || *ptr == '\0')
- continue;
- if (player->aborted) {
- pr("Fire aborted.\n");
+ ptr = getstarg(player->argp[3], "Firing at? ", buf);
+ if (!ptr)
+ return RET_SYN;
+ if (!*ptr)
continue;
- }
if (!issector(ptr)) {
vshipno = atoi(ptr);
if (vshipno < 0 || !getship(vshipno, &vship) ||