stopping = 1;
continue;
}
+ if (cp && !(cp = lnd_path(together, lnd, buf)))
+ cp = buf;
}
if (cp == 0 || *cp == '\0')
cp = &dirch[DIR_STOP];
} else {
dir = chkdir(*cp++, DIR_STOP, DIR_LAST);
if (dir < 0) {
- if (NULL != (cp = lnd_path(together, lnd, buf)))
- continue;
direrr("`%c' to stop", 0, 0);
pr(", `i' to list units, `f' to change leader,\n");
pr("`r' to radar, `l' to look, `M' to map, `B' to bmap,\n");
stopping = 1;
continue;
}
+ if (cp && !(cp = shp_path(together, shp, buf)))
+ cp = buf;
}
radmapnopr(shp->shp_x, shp->shp_y, (int)shp->shp_effic,
(int)techfact(shp->shp_tech,
} else {
dir = chkdir(*cp++, DIR_STOP, DIR_VIEW);
if (dir < 0) {
- if (NULL != (cp = shp_path(together, shp, buf)))
- continue;
direrr("`%c' to stop", ", `%c' to view, ", 0);
pr("`i' to list ships, `f' to change flagship,\n");
pr("`r' to radar, `s' to sonar, `l' to look, `M' to map, `B' to bmap,\n");