Misc: Handle CMSG_CLOSE_TRAIT_SYSTEM_INTERACTION / CMSG_CLOSE_RUNEFORGE_INTERACTION
This commit is contained in:
@@ -1520,3 +1520,11 @@ void WorldSession::HandleMountClearFanfare(WorldPackets::Misc::MountClearFanfare
|
||||
{
|
||||
_collectionMgr->MountClearFanfare(mountClearFanfare.MountSpellID);
|
||||
}
|
||||
|
||||
void WorldSession::HandleCloseTraitSystemInteraction(WorldPackets::Misc::CloseTraitSystemInteraction& /*closeTraitSystemInteraction*/)
|
||||
{
|
||||
// Empty-payload notification that the client dismissed the trait/talent window opened
|
||||
// via a TraitSystem gossip option (see Player::OnGossipSelect -> StartInteraction).
|
||||
if (_player->PlayerTalkClass->GetInteractionData().Type == PlayerInteractionType::TraitSystem)
|
||||
_player->PlayerTalkClass->GetInteractionData().Reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user