diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index aa4faee20a5..655184dcea2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7358,7 +7358,7 @@ void Player::CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32 if (!target || !target->isAlive() || target == this) 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 (Item * item = GetItemByPos(INVENTORY_SLOT_BAG_0,i)) |