Core/Misc: Remove dead code

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

(cherry picked from commit e2c2bce90f)
This commit is contained in:
jackpoz
2014-10-19 14:08:03 +02:00
parent e3ab58ce4e
commit 2cd4ea9b6b

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>