]> git.mxchange.org Git - flightgear.git/commit
Fix FGAIFlightPlan waypoint issues
authorThorstenB <brehmt@gmail.com>
Tue, 27 Nov 2012 20:02:32 +0000 (21:02 +0100)
committerThorstenB <brehmt@gmail.com>
Tue, 27 Nov 2012 20:02:32 +0000 (21:02 +0100)
commita28fe51ccfcb5a9432b1eebf67e729dd45d7d3d6
tree6484eb2e82336d2b88f23d63b1a9f275f2f299ba
parent4b8e0740c480b5c27167b6852551641925893926
Fix FGAIFlightPlan waypoint issues
Iterator must be reset after clearing waypoint list.
Deleting "*waypoint.end()" doesn't delete the last waypoint (end()-1
does - it is never actually used though).
src/AIModel/AIFlightPlan.cxx