|
|
|
@ -1026,6 +1026,9 @@ void CAI_TrackPather::UpdateCurrentTargetLeading()
@@ -1026,6 +1026,9 @@ void CAI_TrackPather::UpdateCurrentTargetLeading()
|
|
|
|
|
bool bRestingAtDest = false; |
|
|
|
|
CPathTrack *pAdjustedDest; |
|
|
|
|
|
|
|
|
|
if( !m_pCurrentPathTarget ) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
// Find the point along the line that we're closest to.
|
|
|
|
|
const Vector &vecTarget = m_pCurrentPathTarget->GetAbsOrigin(); |
|
|
|
|
Vector vecPoint; |
|
|
|
|