Commit 3c914492 authored by drallensmith's avatar drallensmith

Move around stuff from doPreprocess in doReorient - reflect purpose of action...

Move around stuff from doPreprocess in doReorient - reflect purpose of action as alertness to surroundings
parent 356b5afa
......@@ -831,18 +831,6 @@ Agent::doReorient()
}
}
//
// check queued action
//
if ( this->doIntention() )
{
dlog.addText( Logger::TEAM,
__FILE__": do queued intention" );
return ACTION_STATUS_MAYBE;
}
//
// check pass message
//
......@@ -862,6 +850,15 @@ Agent::doReorient()
}
}
//
// check queued action
//
if ( this->doIntention() )
{
dlog.addText( Logger::TEAM,
__FILE__": do queued intention" );
return ACTION_STATUS_MAYBE;
}
return ACTION_STATUS_BAD;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment