Mission: bug fix for loading consecutive do-cmds

The verify step was not being run for the 2nd consecutive do-command in
a mission list
This commit is contained in:
Randy Mackay 2014-03-16 13:10:16 +09:00
parent edab06a3ff
commit 48329c1bba

View File

@ -884,6 +884,7 @@ void AP_Mission::advance_current_do_cmd()
if (get_next_do_cmd(cmd_index, cmd)) {
// set current do command and start it
_do_cmd = cmd;
_flags.do_cmd_loaded = true;
_cmd_start_fn(_do_cmd);
}else{
// set flag to stop unnecessarily searching for do commands