From: terencehill Date: Mon, 24 Jul 2017 13:58:13 +0000 (+0200) Subject: On waypoint spawn print the actual waypoint origin X-Git-Tag: xonotic-v0.8.5~2378^2~122 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=94add1f553e1ac7cf7de8d8c2d89ea3025bb3eb0;p=xonotic%2Fxonotic-data.pk3dir.git On waypoint spawn print the actual waypoint origin --- diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index d130e863a..44fd9da42 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -269,7 +269,7 @@ void waypoint_spawn_fromeditor(entity pl) LABEL(add_wp); e = waypoint_spawn(org, org, 0); waypoint_schedulerelink(e); - bprint(strcat("Waypoint spawned at ", vtos(org), "\n")); + bprint(strcat("Waypoint spawned at ", vtos(e.origin), "\n")); if(sym) { org = waypoint_getSymmetricalOrigin(e.origin, ctf_flags);