(bomb, drop, fly, para, reco): Simplify.
This commit is contained in:
parent
4074ab02f1
commit
901499908c
5 changed files with 5 additions and 5 deletions
|
@ -86,7 +86,7 @@ reco(void)
|
|||
if (pln_onewaymission(&target, &cno, &wantflags) < 0)
|
||||
return RET_SYN;
|
||||
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