|
|
|
@ -58,6 +58,7 @@ uint32 MissionRingId = 0;
|
|
|
|
|
UInstance selectedInstance;
|
|
|
|
|
const UInstance noSelectedInstance;
|
|
|
|
|
string selectedInstanceURL;
|
|
|
|
|
static NLMISC::CRefPtr<NLMISC::CCDBNodeLeaf> s_UserCharFade;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///////////////
|
|
|
|
@ -273,7 +274,8 @@ void checkUnderCursor()
|
|
|
|
|
entity= EntitiesMngr.getEntityUnderPos(cursX, cursY, ClientCfg.SelectionDist, isPlayerUnderCursor);
|
|
|
|
|
|
|
|
|
|
// If the mouse is over the player make the player transparent
|
|
|
|
|
CCDBNodeLeaf *pNL = NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:USER_CHAR_FADE", false);
|
|
|
|
|
CCDBNodeLeaf *pNL = s_UserCharFade ? &*s_UserCharFade
|
|
|
|
|
: (s_UserCharFade = NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:USER_CHAR_FADE", false));
|
|
|
|
|
if ((pNL != NULL) && (pNL->getValue32() == 1) && UserEntity->selectable())
|
|
|
|
|
{
|
|
|
|
|
// If the nearest entity is the player, hide!
|
|
|
|
|