*Update to Mangos 7183.
--HG-- branch : trunk
This commit is contained in:
1 parent
30f6b38941
commit
ef88b04451
37 files changed
+914
-646
No files matched your search
@@ -264,8 +264,8 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
|
||||
return;
|
||||
}
|
||||
|
||||
// not have spell or spell passive and not casted by client
|
||||
if ( !_player->HasSpell (spellId) || IsPassiveSpell(spellId) )
|
||||
// not have spell in spellbook or spell passive and not casted by client
|
||||
if ( !_player->HasActiveSpell (spellId) || IsPassiveSpell(spellId) )
|
||||
{
|
||||
//cheater? kick? ban?
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user