Fixes bug #79
This commit is contained in:
@@ -396,8 +396,14 @@ void LLNetMap::draw()
|
||||
LLViewerRegion* avatar_region = LLWorld::getInstance()->getRegionFromPosGlobal(positions[i]);
|
||||
LLUUID estate_owner = avatar_region? avatar_region->getOwner() : LLUUID::null;
|
||||
|
||||
// MOYMOD Minimap custom av colors.
|
||||
boost::unordered_map<const LLUUID,LLColor4>::const_iterator it = mm_MarkerColors.find(avatar_ids[i]);
|
||||
if(it != mm_MarkerColors.end())
|
||||
{
|
||||
avColor = it->second;
|
||||
}
|
||||
//Lindens are always more Linden than your friend, make that take precedence
|
||||
if(LLMuteList::getInstance()->isLinden(avName))
|
||||
else if(LLMuteList::getInstance()->isLinden(avName))
|
||||
{
|
||||
avColor = linden_color;
|
||||
}
|
||||
@@ -411,15 +417,6 @@ void LLNetMap::draw()
|
||||
{
|
||||
avColor = friend_color;
|
||||
}
|
||||
else
|
||||
{
|
||||
// MOYMOD Minimap custom av colors.
|
||||
boost::unordered_map<const LLUUID,LLColor4>::const_iterator it = mm_MarkerColors.find(avatar_ids[i]);
|
||||
if(it != mm_MarkerColors.end())
|
||||
{
|
||||
avColor = it->second;
|
||||
}
|
||||
}
|
||||
|
||||
LLWorldMapView::drawAvatar(
|
||||
pos_map.mV[VX], pos_map.mV[VY],
|
||||
|
||||
Reference in New Issue
Block a user