CID-131
Checker: NULL_RETURNS Function: LLFloaterWorldMap::friendsChanged() File: /indra/newview/llfloaterworldmap.cpp actually the logic looks a bit suspicious (esp for isGodLike) but I've preserved it.meow-7.2.2
parent
1ce4089fe7
commit
be03975a94
|
|
@ -788,8 +788,11 @@ void LLFloaterWorldMap::friendsChanged()
|
|||
if(avatar_id.notNull())
|
||||
{
|
||||
LLCtrlSelectionInterface *iface = childGetSelectionInterface("friend combo");
|
||||
if(!iface || !iface->setCurrentByID(avatar_id) ||
|
||||
!t.getBuddyInfo(avatar_id)->isRightGrantedFrom(LLRelationship::GRANT_MAP_LOCATION) || gAgent.isGodlike())
|
||||
LLRelationship* buddy_info = t.getBuddyInfo(avatar_id);
|
||||
if(!iface ||
|
||||
!iface->setCurrentByID(avatar_id) ||
|
||||
(buddy_info && !buddy_info->isRightGrantedFrom(LLRelationship::GRANT_MAP_LOCATION)) ||
|
||||
gAgent.isGodlike())
|
||||
{
|
||||
LLTracker::stopTracking(NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue