comparison Items.cpp @ 1898:dd9d4b7c1199

Fixing a small bug in Party::AddItemToParty + removing unreachable return
author Grumpy7
date Sun, 20 Oct 2013 23:12:09 -0700
parents 2e6d3cd052e0
children 05b433b8cb37
comparison
equal deleted inserted replaced
1897:436553b0603c 1898:dd9d4b7c1199
2393 { 2393 {
2394 return false; 2394 return false;
2395 } 2395 }
2396 std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment*>* currList = bonusList->second; 2396 std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment*>* currList = bonusList->second;
2397 return (currList->find(attrToGet) != currList->end()); 2397 return (currList->find(attrToGet) != currList->end());
2398 return false;
2399 } 2398 }
2400 2399
2401 ITEM_EQUIP_TYPE ItemGen::GetItemEquipType() 2400 ITEM_EQUIP_TYPE ItemGen::GetItemEquipType()
2402 { 2401 {
2403 return pItemsTable->pItems[this->uItemID].uEquipType; 2402 return pItemsTable->pItems[this->uItemID].uEquipType;