From: Samual Date: Mon, 2 Apr 2012 05:26:26 +0000 (-0400) Subject: Add comments X-Git-Tag: xonotic-v0.7.0~240^2~106 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ad208dbc694918e31c17bb28d8927db75494a18;p=xonotic%2Fxonotic-data.pk3dir.git Add comments --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 6f07f843d..f93498377 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -1038,11 +1038,11 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey) MUTATOR_HOOKFUNCTION(ctf_HelpMePing) { - if(self.wps_flagcarrier) + if(self.wps_flagcarrier) // update the flagcarrier waypointsprite with "NEEDING HELP" notification { WaypointSprite_HelpMePing(self.wps_flagcarrier); } - else + else // create a normal help me waypointsprite { WaypointSprite_Spawn("helpme", waypointsprite_deployed_lifetime, waypointsprite_limitedrange, self, FLAG_WAYPOINT_OFFSET, world, self.team, self, wps_helpme, FALSE, RADARICON_HELPME, '1 0.5 0'); WaypointSprite_Ping(self.wps_helpme);