]> git.mxchange.org Git - flightgear.git/commit
Bugfix in the ai initialization randomization procedure. Randomly
authordurk <durk>
Sun, 26 Mar 2006 21:40:35 +0000 (21:40 +0000)
committerdurk <durk>
Sun, 26 Mar 2006 21:40:35 +0000 (21:40 +0000)
commit3c738b5ceef1ad0dfd42a7f400896a6431c34638
treeebbb4ad5544043a8060d8cedeba2bf0a452a5ee0
parentb906a06be77035baa42242f29d1c0253e3c19f21
Bugfix in the ai initialization randomization procedure. Randomly
removing waypoints could cause the AIFlightPlan to run out of waypoints.
This patch prevents that by retaining at least two waypoints.
src/AIModel/AIAircraft.cxx
src/AIModel/AIFlightPlanCreate.cxx
src/Airports/groundnetwork.hxx