diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 2019c39b2..cfdb2978b 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2871,7 +2871,7 @@ void Spell::SendCastResult(Player* caster, SpellEntry const* spellInfo, uint8 ca return; WorldPacket data(SMSG_CAST_FAILED, (4+1+1)); - data << uint8(cast_count); // single cast or multi 2.3 (0/1) + data << uint8(cast_count); // single cast or multi 2.3 (0/1) data << uint32(spellInfo->Id); data << uint8(result); // problem switch (result) diff --git a/src/game/Spell.h b/src/game/Spell.h index e734a5b5d..f15a35af9 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -386,7 +386,7 @@ class Spell bool CheckTarget( Unit* target, uint32 eff ); bool CanAutoCast(Unit* target); - 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(); diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index ed09f671a..da854f7d3 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -126,7 +126,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 diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5ac5ed75d..7712f58e3 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7982" + #define REVISION_NR "7983" #endif // __REVISION_NR_H__