diff options
author | raczman <none@none> | 2009-04-12 12:45:17 +0200 |
---|---|---|
committer | raczman <none@none> | 2009-04-12 12:45:17 +0200 |
commit | 8d3b5621028093f29888c8faac651e35e3892e8c (patch) | |
tree | 06b3c83706e29037d25de57256854f800a19dc71 /src | |
parent | 2ba0af3d8fda27516b0a5c93402fba416087e220 (diff) |
Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 24d36a42558..addabe73eeb 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -17637,7 +17637,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()) |