diff options
author | DDuarte <dnpd.dd@gmail.com> | 2014-08-31 21:53:36 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-08-31 21:53:36 +0100 |
commit | d31782d757173620d6f5df36ad76fd857271b793 (patch) | |
tree | 21b24c2ab1e90f9ad937327332e85b950bb4d2e3 /src/server/game/Reputation/ReputationMgr.cpp | |
parent | 8015d86112f92224098939ea8be75c8bd1945b8c (diff) |
Core/Net: Define and semi-implement SMSG_SET_FACTION_NOT_VISIBILE
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.cpp')
-rw-r--r-- | src/server/game/Reputation/ReputationMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index b136e6893cd..34795364c5c 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -239,13 +239,13 @@ void ReputationMgr::SendStates() SendState(&(itr->second)); } -void ReputationMgr::SendVisible(FactionState const* faction) const +void ReputationMgr::SendVisible(FactionState const* faction, bool visible /* = true*/) const { if (_player->GetSession()->PlayerLoading()) return; // make faction visible in reputation list at client - WorldPacket data(SMSG_SET_FACTION_VISIBLE, 4); + WorldPacket data(visible ? SMSG_SET_FACTION_VISIBLE : SMSG_SET_FACTION_NOT_VISIBILE, 4); data << faction->ReputationListID; _player->SendDirectMessage(&data); } |