diff options
Diffstat (limited to 'src/game-server/inventory.cpp')
-rw-r--r-- | src/game-server/inventory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/inventory.cpp b/src/game-server/inventory.cpp index 1fe09001..e14a36af 100644 --- a/src/game-server/inventory.cpp +++ b/src/game-server/inventory.cpp @@ -715,8 +715,7 @@ bool Inventory::equip(int inventorySlot) { EquipmentItem equipItem(it->second.itemId, itemInstance); mPoss->equipSlots.insert( - std::make_pair<unsigned, EquipmentItem> - (equipReq.equipSlotId, equipItem)); + std::make_pair(equipReq.equipSlotId, equipItem)); --capacityLeft; } } |