aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 221de59..86eca8f 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -2768,7 +2768,11 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
2768 LLVector3 beacon_dir(agent_pos.mV[VX] - (F32)fmod(beacon_pos.mdV[VX], 256.0), agent_pos.mV[VY] - (F32)fmod(beacon_pos.mdV[VY], 256.0), 0); 2768 LLVector3 beacon_dir(agent_pos.mV[VX] - (F32)fmod(beacon_pos.mdV[VX], 256.0), agent_pos.mV[VY] - (F32)fmod(beacon_pos.mdV[VY], 256.0), 0);
2769 if (beacon_dir.magVecSquared() < 25.f) 2769 if (beacon_dir.magVecSquared() < 25.f)
2770 { 2770 {
2771 LLTracker::stopTracking(NULL); 2771 // do not stop tracking landmarks here, so they can properly be marked as visited in LLTracker()
2772 if(LLTracker::getTrackingStatus()!=LLTracker::TRACKING_LANDMARK)
2773 {
2774 LLTracker::stopTracking(NULL);
2775 }
2772 } 2776 }
2773 else if ( is_teleport ) 2777 else if ( is_teleport )
2774 { 2778 {