*Typo correction, fixes *nix build, thanks alex_1983

--HG--
branch : trunk
This commit is contained in:
maximius
2009-11-01 01:35:54 -08:00
parent 037d69cc04
commit 218e81d4dc
+1 -1
View File
@@ -7358,7 +7358,7 @@ void Player::CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32
if (!target || !target->isAlive() || target == this) if (!target || !target->isAlive() || target == this)
return; return;
for (UINT8 i = EQUIPMENT_SLOT_START; i < EQUIPMENT_SLOT_END; ++i) for (uint8 i = EQUIPMENT_SLOT_START; i < EQUIPMENT_SLOT_END; ++i)
{ {
// If usable, try to cast item spell // If usable, try to cast item spell
if (Item * item = GetItemByPos(INVENTORY_SLOT_BAG_0,i)) if (Item * item = GetItemByPos(INVENTORY_SLOT_BAG_0,i))