MAINT-8316 FIXED Crash in LLAgent::teleportRequest(..)

meow-7.2.2
maxim_productengine 2018-02-21 18:03:08 +02:00
parent 2a359ac282
commit 4c37033157
1 changed files with 1 additions and 2 deletions

View File

@ -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;