summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-05-29 19:46:21 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-05-29 19:46:21 -0700
commitf133a5ae7b4dcb8b27949f050c3e3b8b66b12a8b (patch)
tree629bb37047f461d99a3659f1cf15dd231b5b90c1 /indra/newview/llagent.cpp
parent02adf10a9e9c3832c24c2a309e27d0ff7c944225 (diff)
Re-adding a line of code that was unintentionally removed.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 24a71f100a..f7575be75d 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -445,6 +445,8 @@ void LLAgent::init()
mLastKnownRequestMaturity = mLastKnownResponseMaturity;
mIsDoSendMaturityPreferenceToServer = true;
+ LLViewerParcelMgr::getInstance()->addAgentParcelChangedCallback(boost::bind(&LLAgent::parcelChangedCallback));
+
if (!mTeleportFinishedSlot.connected())
{
mTeleportFinishedSlot = LLViewerParcelMgr::getInstance()->setTeleportFinishedCallback(boost::bind(&LLAgent::handleTeleportFinished, this));