]> git.mxchange.org Git - flightgear.git/commit
Bug 1153, guard against no current waypoint.
authorJames Turner <zakalawe@mac.com>
Wed, 3 Jul 2013 23:11:40 +0000 (00:11 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 4 Jul 2013 09:30:04 +0000 (10:30 +0100)
commita65f24c1378fb7535801557712d249060ec8ac50
tree7d400fc37dfc97c70033f62c8ca2f4df099b246d
parent8ccc1c4d358ccadd24af173e0f7de49eb56619f1
Bug 1153, guard against no current waypoint.

This is a work-around, probably indicates some glitch in the traffic
module flight-plans. Avoid a crash, also refine the exception logic
so individual AI objects can fail.
src/AIModel/AIAircraft.cxx
src/AIModel/AIManager.cxx