diff options
author | Carbenium <carbenium@outlook.com> | 2016-02-04 01:11:37 +0100 |
---|---|---|
committer | Carbenium <carbenium@outlook.com> | 2016-02-04 01:11:37 +0100 |
commit | b0d8357d144613a03d1ead3fe67d231aa67f5847 (patch) | |
tree | 08a9ce66ee9d1ef98b1254acffc9170435c548b7 | |
parent | 93b552685bfe68f8ad805554077f2da0f0e94133 (diff) |
Warning fix
-rw-r--r-- | src/server/game/Handlers/SpellHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/SpellHandler.cpp b/src/server/game/Handlers/SpellHandler.cpp index 1a0d5b16663..ef7c8a8e915 100644 --- a/src/server/game/Handlers/SpellHandler.cpp +++ b/src/server/game/Handlers/SpellHandler.cpp @@ -589,7 +589,7 @@ void WorldSession::HandleUpdateMissileTrajectory(WorldPackets::Spells::UpdateMis { Unit* caster = ObjectAccessor::GetUnit(*_player, packet.Guid); Spell* spell = caster ? caster->GetCurrentSpell(CURRENT_GENERIC_SPELL) : NULL; - if (!spell || spell->m_spellInfo->Id != packet.SpellID || !spell->m_targets.HasDst() || !spell->m_targets.HasSrc()) + if (!spell || spell->m_spellInfo->Id != uint32(packet.SpellID) || !spell->m_targets.HasDst() || !spell->m_targets.HasSrc()) return; Position pos = *spell->m_targets.GetSrcPos(); |