world/source/AutomaticMovement.cpp
// Set the engaged flag.  If the flag becomes false, also reset the turn
// counter.
Set the engaged flag.  If the flag becomes false, also reset the turn
counter.
Set the engaged flag . If the flag becomes false also reset the turn counter .
void AutomaticMovement::set_engaged(const bool new_engaged)
{
  engaged = new_engaged;
  if (engaged == false)
  {
    turns = -1;
  }
}
void AutomaticMovement :: set_engaged ( const bool new_engaged ) { engaged = new_engaged ; if ( engaged == false ) { turns = -1 ; } }
Set the engaged flag.
Set the engaged flag .