Core/Misc: Remove dead code

Remove a double check on result of same function, with the 2nd being always true.
This commit is contained in:
jackpoz
2014-10-19 14:08:03 +02:00
parent 457c93bc4b
commit e2c2bce90f

View File

@@ -23051,11 +23051,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>