Don't crash there.

This commit is contained in:
Siana Gearz
2011-05-04 14:46:23 +02:00
parent d611f6b741
commit 8983f4a186

View File

@@ -394,7 +394,8 @@ void LLNetMap::draw()
avColor = muted_color;
}
LLUUID estate_owner = LLWorld::getInstance()->getRegionFromPosGlobal(positions[i])->getOwner();
LLViewerRegion* avatar_region = LLWorld::getInstance()->getRegionFromPosGlobal(positions[i]);
LLUUID estate_owner = avatar_region? avatar_region->getOwner() : LLUUID::null;
//Lindens are always more Linden than your friend, make that take precedence
if(LLMuteList::getInstance()->isLinden(avName))