*One rev skipped:  Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-12 16:51:46 -05:00
12 changed files with 390 additions and 175 deletions
+1 -1
View File
@@ -17987,7 +17987,7 @@ bool Player::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool
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
if(isGameMaster())