summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-02-21 18:03:08 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-02-21 18:03:08 +0200
commit4c37033157516f836446d3d2a264ffe455644c36 (patch)
treebd8f34d34ff1b82c31d502a11b98d3c251237868 /indra/newview
parent2a359ac282a8daf26cac10bd697031f44152808c (diff)
MAINT-8316 FIXED Crash in LLAgent::teleportRequest(..)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llagent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index f67bb22f5b..2243cbdf5a 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3943,8 +3943,7 @@ void LLAgent::teleportRequest(
bool look_at_from_camera)
{
LLViewerRegion* regionp = getRegion();
- bool is_local = (region_handle == regionp->getHandle());
- if(regionp && teleportCore(is_local))
+ if (regionp && teleportCore(region_handle == regionp->getHandle()))
{
LL_INFOS("") << "TeleportLocationRequest: '" << region_handle << "':"
<< pos_local << LL_ENDL;