warning fix
This commit is contained in:
1 parent
a06b3cea3c
commit
edcc11423b
1 file changed
+1
-1
@@ -265,7 +265,7 @@ void WorldSession::HandleCastSpellOpcode(WorldPackets::Spells::CastSpell& cast)
|
||||
{
|
||||
// ignore for remote control state (for player case)
|
||||
Unit* mover = GetGameClient()->GetActivelyMovedUnit();
|
||||
if (!mover || mover != _player && mover->IsPlayer())
|
||||
if (!mover || (mover != _player && mover->IsPlayer()))
|
||||
return;
|
||||
|
||||
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(cast.Cast.SpellID);
|
||||
|
||||
Reference in new issue
Block a user