From 68c3039715d8b68aa1b33a44bae3dd5d59eb5e5f Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 26 Mar 2009 13:53:32 -0600 Subject: *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos --HG-- branch : trunk --- src/game/CharacterHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/CharacterHandler.cpp') diff --git a/src/game/CharacterHandler.cpp b/src/game/CharacterHandler.cpp index dace248bdbe..c9b37289e64 100644 --- a/src/game/CharacterHandler.cpp +++ b/src/game/CharacterHandler.cpp @@ -876,7 +876,7 @@ void WorldSession::HandleSetFactionAtWar( WorldPacket & recv_data ) recv_data >> repListID; recv_data >> flag; - GetPlayer()->SetFactionAtWar(repListID,flag); + GetPlayer()->GetReputationMgr().SetAtWar(repListID,flag); } //I think this function is never used :/ I dunno, but i guess this opcode not exists @@ -904,7 +904,7 @@ void WorldSession::HandleSetFactionCheat( WorldPacket & /*recv_data*/ ) } } */ - GetPlayer()->SendFactionStates(); + GetPlayer()->GetReputationMgr().SendStates(); } void WorldSession::HandleMeetingStoneInfo( WorldPacket & /*recv_data*/ ) @@ -969,7 +969,7 @@ void WorldSession::HandleSetWatchedFactionInactiveOpcode(WorldPacket & recv_data uint8 inactive; recv_data >> replistid >> inactive; - _player->SetFactionInactive(replistid, inactive); + _player->GetReputationMgr().SetInactive(replistid, inactive); } void WorldSession::HandleToggleHelmOpcode( WorldPacket & /*recv_data*/ ) -- cgit v1.2.3