Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -17637,7 +17637,7 @@ bool Player::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(u->GetVisibility() == VISIBILITY_OFF)
|
if(u->GetVisibility() == VISIBILITY_OFF || u->m_invisibilityMask )
|
||||||
{
|
{
|
||||||
// GMs see any players, not higher GMs and all units
|
// GMs see any players, not higher GMs and all units
|
||||||
if(isGameMaster())
|
if(isGameMaster())
|
||||||
|
|||||||
Reference in New Issue
Block a user