*Update to Mangos 7183.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-25 16:35:14 -06:00
1 parent 30f6b38941
commit ef88b04451
37 files changed
+914 -646

No files matched your search

+2 -2
View File
@@ -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;