Core/Players: update mount capabilities when being added to the map
This commit is contained in:
1 parent
f694f0409f
commit
9ee2af2312
2 files changed
+2
-2
No files matched your search
@@ -18473,8 +18473,7 @@ void Player::UpdateMountCapabilities()
|
||||
{
|
||||
if (HasAuraType(SPELL_AURA_MOUNTED))
|
||||
{
|
||||
AuraEffectList mountEffects = GetAuraEffectsByType(SPELL_AURA_MOUNTED);
|
||||
for (AuraEffect* aurEff : mountEffects)
|
||||
for (AuraEffect* aurEff : GetAuraEffectsByType(SPELL_AURA_MOUNTED))
|
||||
{
|
||||
MountCapabilityEntry const* capability = GetMountCapability(uint32(aurEff->GetMiscValueB()));
|
||||
if (!capability)
|
||||
|
||||
@@ -142,6 +142,7 @@ void WorldSession::HandleMoveWorldportAck()
|
||||
}
|
||||
}
|
||||
|
||||
GetPlayer()->UpdateMountCapabilities();
|
||||
GetPlayer()->SendInitialPacketsAfterAddToMap();
|
||||
|
||||
// flight fast teleport case
|
||||
|
||||
Reference in new issue
Block a user