(bomb, drop, fly, para, reco): Simplify.

This commit is contained in:
Markus Armbruster 2006-04-30 12:48:21 +00:00
parent 4074ab02f1
commit 901499908c
5 changed files with 5 additions and 5 deletions

View file

@ -101,7 +101,7 @@ drop(void)
}
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);
/*