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:
1 parent
5812c6559f
commit
4cd2ff6ae4
2 files changed
+9
-10
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user