[7983] Make static Spell::SendCastResult accessable from script DLL. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-10 14:37:30 -05:00
parent bb3c1e2eae
commit 375641398a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ class Spell
void CheckSrc() { if(!m_targets.HasSrc()) m_targets.setSrc(m_caster); }
void CheckDst() { if(!m_targets.HasDst()) m_targets.setDestination(m_caster); }
static void SendCastResult(Player* caster, SpellEntry const* spellInfo, uint8 cast_count, SpellCastResult result);
static void MANGOS_DLL_SPEC SendCastResult(Player* caster, SpellEntry const* spellInfo, uint8 cast_count, SpellCastResult result);
void SendCastResult(SpellCastResult result);
void SendSpellStart();
void SendSpellGo();
+1 -1
View File
@@ -130,7 +130,7 @@ void WorldSession::HandleUseItemOpcode(WorldPacket& recvPacket)
if (!pItem->IsTargetValidForItemUse(targets.getUnitTarget()))
{
// free greay item aftre use faul
// free gray item after use fail
pUser->SendEquipError(EQUIP_ERR_NONE, pItem, NULL);
// send spell error