mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[8845] fixed some gcc warnings
This commit is contained in:
parent
d45b6884ee
commit
1d362eace4
20 changed files with 51 additions and 52 deletions
|
|
@ -455,7 +455,8 @@ void Channel::List(Player* player)
|
|||
|
||||
// PLAYER can't see MODERATOR, GAME MASTER, ADMINISTRATOR characters
|
||||
// MODERATOR, GAME MASTER, ADMINISTRATOR can see all
|
||||
if (plr && (player->GetSession()->GetSecurity() > SEC_PLAYER || plr->GetSession()->GetSecurity() <= gmLevelInWhoList) &&
|
||||
if (plr && (player->GetSession()->GetSecurity() > SEC_PLAYER ||
|
||||
(uint32)plr->GetSession()->GetSecurity() <= gmLevelInWhoList) &&
|
||||
plr->IsVisibleGloballyFor(player))
|
||||
{
|
||||
data << uint64(i->first);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue