From: terencehill Date: Fri, 2 Aug 2019 21:23:50 +0000 (+0200) Subject: Make so that g_waypointsprite_team_here_p's trace hits map items, matching item detec... X-Git-Tag: xonotic-v0.8.5~1414^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7208e70ef4cfe437e45e4f83a9bcd0f609e0b988;p=xonotic%2Fxonotic-data.pk3dir.git Make so that g_waypointsprite_team_here_p's trace hits map items, matching item detection of the placeholder %x in the text message "free item %x^7 (l:%y^7)" --- diff --git a/qcsrc/server/impulse.qc b/qcsrc/server/impulse.qc index 2320eb830..49685d49d 100644 --- a/qcsrc/server/impulse.qc +++ b/qcsrc/server/impulse.qc @@ -507,7 +507,7 @@ IMPULSE(waypoint_here_here) IMPULSE(waypoint_here_crosshair) { - WarpZone_crosshair_trace(this); + WarpZone_crosshair_trace_plusvisibletriggers(this); entity wp = WaypointSprite_DeployFixed(WP_Here, false, this, trace_endpos, RADARICON_HERE); if (wp) WaypointSprite_Ping(wp); sprint(this, "HERE spawned at crosshair\n");