Core/Misc: Remove dead code

Remove a double check on result of same function, with the 2nd being always true.

(cherry picked from commit e2c2bce90f1713136c2a256e423e5d136dab2389)
This commit is contained in:
jackpoz committed 2014-10-19 14:39:36 +02:00
1 parent e3ab58ce4e
commit 2cd4ea9b6b
1 file changed
+1 -5
+1 -5
View File
@@ -22531,11 +22531,7 @@ bool Player::IsVisibleGloballyFor(Player const* u) const
return GetSession()->GetSecurity() <= u->GetSession()->GetSecurity();
// non faction visibility non-breakable for non-GMs
if (!IsVisible())
return false;
// non-gm stealth/invisibility not hide from global player lists
return true;
return false;
}
template<class T>