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.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index a2bb5f1..eb11acb 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -3345,9 +3345,18 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
3345// if (avatarp) 3345// if (avatarp)
3346 { 3346 {
3347 // Chat the "back" SLURL. (DEV-4907) 3347 // Chat the "back" SLURL. (DEV-4907)
3348 // Show this in the console if DisableTeleportScreens is true
3349 // Why? Because it's nifty, that's why -- MC
3348 LLChat chat("Teleport completed from " + gAgent.getTeleportSourceSLURL()); 3350 LLChat chat("Teleport completed from " + gAgent.getTeleportSourceSLURL());
3349 chat.mSourceType = CHAT_SOURCE_SYSTEM; 3351 chat.mSourceType = CHAT_SOURCE_SYSTEM;
3350 LLFloaterChat::addChatHistory(chat); 3352 if (gSavedSettings.getBOOL("DisableTeleportScreens"))
3353 {
3354 LLFloaterChat::addChat(chat, FALSE, FALSE);
3355 }
3356 else
3357 {
3358 LLFloaterChat::addChatHistory(chat);
3359 }
3351 3360
3352 // Set the new position 3361 // Set the new position
3353 avatarp->setPositionAgent(agent_pos); 3362 avatarp->setPositionAgent(agent_pos);