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() ...@@ -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 // check pass message
// //
...@@ -861,7 +849,16 @@ Agent::doReorient() ...@@ -861,7 +849,16 @@ Agent::doReorient()
return ACTION_STATUS_UNKNOWN; return ACTION_STATUS_UNKNOWN;
} }
} }
//
// check queued action
//
if ( this->doIntention() )
{
dlog.addText( Logger::TEAM,
__FILE__": do queued intention" );
return ACTION_STATUS_MAYBE;
}
return ACTION_STATUS_BAD; 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