mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
[Initialization] Ammo amount
This commit is contained in:
@@ -2515,7 +2515,7 @@ void PlayerbotFactory::InitAmmo()
|
||||
|
||||
if (count < maxCount / 2)
|
||||
{
|
||||
if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount)) {
|
||||
if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount / 2)) {
|
||||
newItem->AddToUpdateQueueOf(bot);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user