diff --git a/src/game/server/pointanglesensor.cpp b/src/game/server/pointanglesensor.cpp index d625ca9cd..133241dd4 100644 --- a/src/game/server/pointanglesensor.cpp +++ b/src/game/server/pointanglesensor.cpp @@ -216,7 +216,14 @@ void CPointAngleSensor::Think(void) if (m_hTargetEntity != NULL) { Vector forward; - m_hTargetEntity->GetVectors(&forward, NULL, NULL); + if ( dynamic_cast< CBasePlayer * >( m_hTargetEntity.Get() ) != NULL ) + { + dynamic_cast< CBasePlayer * >( m_hTargetEntity.Get() )->EyeVectors( &forward, NULL, NULL ); + } + else + { + m_hTargetEntity->GetVectors( &forward, NULL, NULL ); + } m_TargetDir.Set(forward, this, this); if (m_hLookAtEntity != NULL)