Fixes to all-reputation and all-skill custom option handling:

- Move on-create customs (all explored, all reputations) to CharacterHandler::HandlePlayerLogin for first login.

- Add Wrath and cata factions to all reputations custom (it only had BC factions).

- Remove unused ReputationMgr::SendStates. Add ReputationMgr::SendState handling for sending all updated states in arbitrary order if nullptr is passed (used in point 1).

- Fix all weapon skills max custom to properly apply on learning new weapon skills.
This commit is contained in:
treeston
2017-06-15 04:19:12 +02:00
committed by Aokromes
parent 5812c6559f
commit 4cd2ff6ae4
2 changed files with 9 additions and 10 deletions

View File

@@ -239,17 +239,7 @@ void ReputationMgr::SendInitialReputations()
_player->SendDirectMessage(&data);
}
<<<<<<< HEAD
void ReputationMgr::SendStates()
{
for (FactionStateList::iterator itr = _factions.begin(); itr != _factions.end(); ++itr)
SendState(&(itr->second));
}
void ReputationMgr::SendVisible(FactionState const* faction, bool visible /* = true*/) const
=======
void ReputationMgr::SendVisible(FactionState const* faction) const
>>>>>>> 4b6351e... Fixes to all-reputation and all-skill custom option handling:
{
if (_player->GetSession()->PlayerLoading())
return;