mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
greatly improve performance
This commit is contained in:
@@ -1247,7 +1247,7 @@ void PlayerbotFactory::InitEquipment(bool incremental)
|
||||
if (CanEquipUnseenItem(slot, dest, itemId))
|
||||
items[slot].push_back(itemId);
|
||||
}
|
||||
} while (items[slot].size() < 25 && desiredQuality-- > ITEM_QUALITY_NORMAL);
|
||||
} while (items[slot].size() < 10 && desiredQuality-- > ITEM_QUALITY_NORMAL);
|
||||
}
|
||||
|
||||
for (uint8 slot = 0; slot < EQUIPMENT_SLOT_END; ++slot)
|
||||
|
||||
Reference in New Issue
Block a user