From c5310844db5de639f4316d4d9eed9254d24009cb Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 15 Apr 2009 17:29:33 -0500 Subject: [7672] Move ReceiveEmote from script API to AI API. Author: VladimirMangos This is also fix triggering ReceiveEmote for EventAI broken at it move to core. --HG-- branch : trunk --- src/bindings/scripts/ScriptMgr.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/bindings/scripts/ScriptMgr.cpp') diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index fa3b2466db9..1591f53922b 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -1831,15 +1831,6 @@ bool ItemUse( Player *player, Item* _Item, SpellCastTargets const& targets) return tmpscript->pItemUse(player,_Item,targets); } -TRINITY_DLL_EXPORT -bool ReceiveEmote( Player *player, Creature *_Creature, uint32 emote ) -{ - Script *tmpscript = m_scripts[_Creature->GetScriptId()]; - if (!tmpscript || !tmpscript->pReceiveEmote) return false; - - return tmpscript->pReceiveEmote(player, _Creature, emote); -} - TRINITY_DLL_EXPORT bool EffectDummyCreature(Unit *caster, uint32 spellId, uint32 effIndex, Creature *crTarget ) { -- cgit v1.2.3