(bomb, drop, fly, para, reco): Simplify.
This commit is contained in:
parent
4074ab02f1
commit
901499908c
5 changed files with 5 additions and 5 deletions
|
@ -88,7 +88,7 @@ para(void)
|
|||
getsect(tx, ty, &target);
|
||||
pr("LZ is %s\n", xyas(tx, ty, player->cnum));
|
||||
ap_to_target = strlen(flightpath);
|
||||
if (*(flightpath + strlen(flightpath) - 1) == 'h')
|
||||
if (flightpath[ap_to_target - 1] == 'h')
|
||||
ap_to_target--;
|
||||
pr("range to target is %d\n", ap_to_target);
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue