]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only show monster waypoints to the monster's team
authorMario <mario.mario@y7mail.com>
Fri, 8 Feb 2013 00:23:40 +0000 (11:23 +1100)
committerMario <mario.mario@y7mail.com>
Fri, 8 Feb 2013 00:23:40 +0000 (11:23 +1100)
qcsrc/server/mutators/gamemode_rts.qc

index c9a570571d457338983ec39a48188f0ae9b2e862..edef364c3a3a58618b64e824427766bb3cc40161 100644 (file)
@@ -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);
                }