Renamed/expanded 'BagTypes' enumeration

This commit is contained in:
Uleat
2013-10-18 20:33:41 -04:00
parent 2c25241763
commit 403ac53a9e
8 changed files with 238 additions and 180 deletions
+1 -1
View File
@@ -2049,7 +2049,7 @@ void Mob::SetAttackTimer() {
const ItemInst *pi = CastToClient()->GetInv().GetItem(r);
if(!pi)
continue;
if(pi->IsType(ItemClassContainer) && pi->GetItem()->BagType == bagTypeQuiver)
if(pi->IsType(ItemClassContainer) && pi->GetItem()->BagType == BagType_Quiver)
{
float temp_wr = ( pi->GetItem()->BagWR / RuleI(Combat, QuiverWRHasteDiv) );
if(temp_wr > max_quiver)