Core/Players: merged a fix for frozen emotes in specific circumstances

This commit is contained in:
Ovahlord
2018-03-25 20:40:03 +02:00
parent b958176025
commit b60589fa9f
3 changed files with 8 additions and 6 deletions

View File

@@ -1904,9 +1904,9 @@ void ScriptMgr::OnPlayerChat(Player* player, uint32 type, uint32 lang, std::stri
FOREACH_SCRIPT(PlayerScript)->OnChat(player, type, lang, msg, channel);
}
void ScriptMgr::OnPlayerEmote(Player* player, uint32 emote)
void ScriptMgr::OnPlayerClearEmote(Player* player)
{
FOREACH_SCRIPT(PlayerScript)->OnEmote(player, emote);
FOREACH_SCRIPT(PlayerScript)->OnClearEmote(player);
}
void ScriptMgr::OnPlayerTextEmote(Player* player, uint32 textEmote, uint32 emoteNum, ObjectGuid guid)