REPO: code-style clean-up
* Fixed pGuild->guild * Fixed pGroup->group * Fixed pOwner->owner
This commit is contained in:
1 parent
f1ccb83dc0
commit
96d7a1e970
18 files changed
+172
-172
No files matched your search
@@ -53,9 +53,9 @@ public:
|
||||
if (pInstance->GetData(TYPE_BARON_RUN) != NOT_STARTED)
|
||||
return false;
|
||||
|
||||
if (Group* pGroup = player->GetGroup())
|
||||
if (Group* group = player->GetGroup())
|
||||
{
|
||||
for (GroupReference* itr = pGroup->GetFirstMember(); itr != NULL; itr = itr->next())
|
||||
for (GroupReference* itr = group->GetFirstMember(); itr != NULL; itr = itr->next())
|
||||
{
|
||||
Player* pGroupie = itr->getSource();
|
||||
if (!pGroupie)
|
||||
|
||||
@@ -95,9 +95,9 @@ public:
|
||||
if (done_by->GetTypeId() == TYPEID_PLAYER)
|
||||
if (me->HealthBelowPctDamaged(30, damage))
|
||||
{
|
||||
if (Group* pGroup = CAST_PLR(done_by)->GetGroup())
|
||||
if (Group* group = CAST_PLR(done_by)->GetGroup())
|
||||
{
|
||||
for (GroupReference* itr = pGroup->GetFirstMember(); itr != NULL; itr = itr->next())
|
||||
for (GroupReference* itr = group->GetFirstMember(); itr != NULL; itr = itr->next())
|
||||
{
|
||||
Player* pGroupie = itr->getSource();
|
||||
if (pGroupie &&
|
||||
|
||||
Reference in new issue
Block a user