diff options
author | Spp <none@none> | 2010-04-07 23:25:02 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 23:25:02 +0200 |
commit | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (patch) | |
tree | b744629b9fc3004bcb717c5f95a10724df3a6a62 /src/game/Group.cpp | |
parent | 49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (diff) |
Code Style (game + scripts only):
"==" --> " == " (when needed)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r-- | src/game/Group.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 9a9febc3c14..45db58fa813 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -384,7 +384,7 @@ void Group::ChangeLeader(const uint64 &guid) { member_citerator slot = _getMemberCSlot(guid); - if (slot==m_memberSlots.end()) + if (slot == m_memberSlots.end()) return; _setLeader(guid); @@ -1072,7 +1072,7 @@ void Group::BroadcastPacket(WorldPacket *packet, bool ignorePlayersInBGRaid, int if (!pl || (ignore != 0 && pl->GetGUID() == ignore) || (ignorePlayersInBGRaid && pl->GetGroup() != this)) continue; - if (pl->GetSession() && (group==-1 || itr->getSubGroup()==group)) + if (pl->GetSession() && (group == -1 || itr->getSubGroup() == group)) pl->GetSession()->SendPacket(packet); } } @@ -1222,7 +1222,7 @@ bool Group::_removeMember(const uint64 &guid) void Group::_setLeader(const uint64 &guid) { member_witerator slot = _getMemberWSlot(guid); - if (slot==m_memberSlots.end()) + if (slot == m_memberSlots.end()) return; if (!isBGGroup()) @@ -1301,7 +1301,7 @@ void Group::_removeRolls(const uint64 &guid) bool Group::_setMembersGroup(const uint64 &guid, const uint8 &group) { member_witerator slot = _getMemberWSlot(guid); - if (slot==m_memberSlots.end()) + if (slot == m_memberSlots.end()) return false; slot->group = group; @@ -1537,7 +1537,7 @@ uint32 Group::CanJoinBattleGroundQueue(BattleGround const* bgOrTemplate, BattleG } //=================================================== -//============== Roll =============================== +//============== Roll =============================== //=================================================== void Roll::targetObjectBuildLink() |