Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.

--HG--
branch : trunk
This commit is contained in:
raczman
2009-04-12 12:45:17 +02:00
parent 2ba0af3d8f
commit 8d3b562102
+1 -1
View File
@@ -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())