]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix waypoint_remove relinking waypoints linked from the waypoint going to be removed...
authorterencehill <piuntn@gmail.com>
Sat, 18 Mar 2017 23:20:23 +0000 (00:20 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 18 Mar 2017 23:20:23 +0000 (00:20 +0100)
commitf5f4d18be1cd92f5b1808505aa76e08cad37b421
treea86f849c1489e86b4ce5b06bcdaf1518b63bdf02
parent325cb2186e08d635b5dcf81002464cab1b33f20c
Fix waypoint_remove relinking waypoints linked from the waypoint going to be removed instead of relinking the ones linked to it. This bug sometimes caused bots to follow invalid  links and bump into walls. Until now it could be avoided only by executing g_waypointeditor_relinkall before saving waypoints.
qcsrc/server/bot/default/waypoints.qc