547 {
548 if ( MemoryPointExists( selection ) )
549 {
550 vector selection_pos = ModelToWorld( GetMemoryPointPos( selection ) );
551 float distance = vector.Distance( selection_pos, player.GetPosition() );
553 {
554 return false;
555 }
556 }
557
558 return true;
559 }
const float MAX_ACTION_DETECTION_DISTANCE