diff --git a/zone/inventory.cpp b/zone/inventory.cpp index 83927bbfe..b608e19f6 100644 --- a/zone/inventory.cpp +++ b/zone/inventory.cpp @@ -3332,8 +3332,11 @@ void Client::SetBandolier(const EQApplicationPacket *app) // removed 'invWhereCursor' argument from above and implemented slots 30, 331-340 checks here if (slot == INVALID_INDEX) { if (m_inv.GetItem(EQ::invslot::slotCursor)) { - if (m_inv.GetItem(EQ::invslot::slotCursor)->GetItem()->ID == m_pp.bandoliers[bss->Number].Items[BandolierSlot].ID && - m_inv.GetItem(EQ::invslot::slotCursor)->GetCharges() >= 1) { // '> 0' the same, but this matches Inventory::_HasItem conditional check + // Below used to check charges but for some reason + // m_inv.GetItem(EQ::invslot::slotCursor)->GetCharges() + // is returning 0. We know it exists, so removed check. + // TODO: Why is 0 being returned for slotCursor. + if (m_inv.GetItem(EQ::invslot::slotCursor)->GetItem()->ID == m_pp.bandoliers[bss->Number].Items[BandolierSlot].ID) { slot = EQ::invslot::slotCursor; } else if (m_inv.GetItem(EQ::invslot::slotCursor)->GetItem()->ItemClass == 1) {