bot: allow bots to ignore more than one item on the ground per-round
This commit is contained in:
parent
26e374d3f5
commit
8c0e603e55
4 changed files with 22 additions and 10 deletions
|
|
@ -1541,7 +1541,8 @@ void Bot::pickupItem_ () {
|
|||
}
|
||||
|
||||
if (!weaponIndex || !niceWeapon) {
|
||||
m_itemIgnore = m_pickupItem;
|
||||
m_ignoredItems.push (m_pickupItem);
|
||||
|
||||
m_pickupItem = nullptr;
|
||||
m_pickupType = Pickup::None;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue