CoreSpells: Typofixes: fix area auras autocast and usage of items in combat.

This commit is contained in:
QAston
2011-07-28 13:21:31 +02:00
parent f33a0c23ca
commit 045dec19fa
3 changed files with 3 additions and 3 deletions
@@ -141,7 +141,7 @@ void WorldSession::HandleUseItemOpcode(WorldPacket& recvPacket)
{
if (SpellInfo const *spellInfo = sSpellMgr->GetSpellInfo(proto->Spells[i].SpellId))
{
if (spellInfo->CanBeUsedInCombat())
if (!spellInfo->CanBeUsedInCombat())
{
pUser->SendEquipError(EQUIP_ERR_NOT_IN_COMBAT, pItem, NULL);
return;