From f3866861bbc8cd620db9e8f9f662a5a21ec9a08b Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 16 Dec 2017 16:39:42 -0500 Subject: [PATCH] Fix inability to duel-wield (thanks to Ir the Great for this patch) --- src/universe/pc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/universe/pc.cpp b/src/universe/pc.cpp index 4f1276a4..c1fbcf71 100644 --- a/src/universe/pc.cpp +++ b/src/universe/pc.cpp @@ -563,7 +563,7 @@ bool cPlayer::equip_item(int which_item, bool do_print) { eItemCat equip_item_type = (*item.variety).exclusion; // Now if missile is already equipped, no more missiles - if(equip_item_type != eItemCat::MISC) { + if(equip_item_type == eItemCat::MISSILE_AMMO || equip_item_type == eItemCat::MISSILE_WEAPON) { for(int i = 0; i < items.size(); i++) if(equip[i] && (*items[i].variety).exclusion == equip_item_type) { if(do_print && print_result) {