aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-12 16:51:46 -0500
committermegamage <none@none>2009-04-12 16:51:46 -0500
commit785dc693186357250b808825b6026abaec1c3e8f (patch)
tree96d65048d7256e0fa0617e706be2017801bd4be4 /src/game/Player.cpp
parent3f97137ce9bd6113613c9ee81049fa9649dddc84 (diff)
parent5032bd159cc0fff5e10d38161ecb5e7469c3d75f (diff)
*Merge.
*One rev skipped: Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index ae14d5ebc30..1779ea84d7c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -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())