summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-05-29 19:19:41 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-05-29 19:19:41 +0300
commit984cc0788dd0bde032eab993293db2131b51a26f (patch)
tree738427b1965b2588239875c6dee8c874b9ffe1a5 /indra/newview/llagent.cpp
parent863cf3e64af75eeb89fc2614bbe684cc300438e3 (diff)
MAINT-3504 FIXED Avatar cannot move after TPing into region he nearly crossed into
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 8914379073..cf09a410bd 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -4001,7 +4001,7 @@ void LLAgent::teleportRequest(
bool look_at_from_camera)
{
LLViewerRegion* regionp = getRegion();
- bool is_local = (region_handle == to_region_handle(getPositionGlobal()));
+ bool is_local = (region_handle == regionp->getHandle());
if(regionp && teleportCore(is_local))
{
LL_INFOS("") << "TeleportLocationRequest: '" << region_handle << "':"