]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Dinamically test and create links from waypoints to items every time a bot heads...
authorterencehill <piuntn@gmail.com>
Sun, 29 Dec 2019 21:20:53 +0000 (22:20 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 29 Dec 2019 21:20:53 +0000 (22:20 +0100)
commita2f0b94d4b69d2009c8bac03be0783a63c9458bb
treee6d98433f1b20f69745a1efc63b0ad562a2ec297
parentad8173adea48a7e034a64a1696bb8bacdb16aa76
Dinamically test and create links from waypoints to items every time a bot heads to an item since creating all the links for all items when a bot joins is very expensive; it fixes #2048 "Adding bots causes a server spike"
qcsrc/server/bot/default/navigation.qc
qcsrc/server/bot/default/navigation.qh
qcsrc/server/bot/default/waypoints.qc
qcsrc/server/bot/default/waypoints.qh