mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user