From: Mario Date: Fri, 8 Feb 2013 00:23:40 +0000 (+1100) Subject: Only show monster waypoints to the monster's team X-Git-Tag: xonotic-v0.8.0~241^2^2~533 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dd1795ff7d6786e2ab79267e3dbbcb893b0121b0;p=xonotic%2Fxonotic-data.pk3dir.git Only show monster waypoints to the monster's team --- diff --git a/qcsrc/server/mutators/gamemode_rts.qc b/qcsrc/server/mutators/gamemode_rts.qc index c9a570571..edef364c3 100644 --- a/qcsrc/server/mutators/gamemode_rts.qc +++ b/qcsrc/server/mutators/gamemode_rts.qc @@ -141,7 +141,7 @@ MUTATOR_HOOKFUNCTION(rts_PlayerThink) wp.owner = self; // hmm... wp.think = rts_waypoint_think; wp.nextthink = time; - WaypointSprite_Spawn("Waypoint", 0, 0, wp, '0 0 10', world, 0, wp, sprite, FALSE, RADARICON_DANGER, ((teamplay) ? TeamColor(self.team) : '1 0 0')); + WaypointSprite_Spawn("Here", 0, 0, wp, '0 0 10', world, self.team, wp, sprite, FALSE, RADARICON_DANGER, ((teamplay) ? TeamColor(self.team) : '1 0 0')); setorigin(wp, self.cursor_trace_endpos); }