Bot AI: grouped small health/armor: avoid multiple costly calls of path finding code...
authorterencehill <piuntn@gmail.com>
Thu, 28 Dec 2017 18:09:31 +0000 (19:09 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 28 Dec 2017 18:09:31 +0000 (19:09 +0100)
commitddba29912342c2aacb1686062d4e4cd148503c29
tree7b6b3617852a225c605c0318d48ccf0d43317c6b
parentff60b8c469db4a36779b1cce5c334f1d15e14153
Bot AI: grouped small health/armor: avoid multiple costly calls of path finding code that selects one of the closest item of the group by telling the bot to head directly to the farthest item as soon as bot picks the first item up
qcsrc/common/t_items.qc
qcsrc/common/t_items.qh
qcsrc/server/bot/default/havocbot/havocbot.qc