refactor(Core): replace NULL with nullptr (#4593)
This commit is contained in:
parent
dbefa17a53
commit
28f1dc5c0c
231 changed files with 923 additions and 923 deletions
|
|
@ -686,7 +686,7 @@ public:
|
|||
{
|
||||
uint8 limit = 0;
|
||||
if (player->GetGroup())
|
||||
for (GroupReference* itr = player->GetGroup()->GetFirstMember(); itr != NULL && limit < 4; itr = itr->next(), ++limit)
|
||||
for (GroupReference* itr = player->GetGroup()->GetFirstMember(); itr != nullptr && limit < 4; itr = itr->next(), ++limit)
|
||||
if (Player* groupPlayer = itr->GetSource())
|
||||
if (groupPlayer != player)
|
||||
groupPlayer->GetSession()->SendPacket(&_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue