]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update eventlog command to be cleaner... wtf why was it so huge before.
authorSamual <samual@xonotic.org>
Fri, 1 Apr 2011 16:24:20 +0000 (12:24 -0400)
committerSamual <samual@xonotic.org>
Fri, 1 Apr 2011 16:24:20 +0000 (12:24 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index 5c465231c5182a39d53091e97aa50bac2647a8a4..1d49eeedc4c8083f801946f2bd0103a4152ce270 100644 (file)
@@ -69,19 +69,7 @@ void ctf_FakeTimeLimit(entity e, float t)
 void ctf_EventLog(string mode, float flagteam, entity actor) // use an alias for easy changing and quick editing later
 {
        if(autocvar_sv_eventlog)
-               GameLogEcho(strcat(":ctf:", mode, ":", ftos(flagteam), ((actor != world) ? (":", ftos(actor.playerid)) : "")));
-}
-
-void ctf_CreateBaseWaypoints(entity flag, float teamnumber)
-{
-       // for bots
-       waypoint_spawnforitem_force(flag, flag.origin);
-       flag.nearestwaypointtimeout = 0; // activate waypointing again
-       flag.bot_basewaypoint = flag.nearestwaypoint;
-
-       // waypointsprites
-       WaypointSprite_SpawnFixed(((teamnumber) ? "redbase" : "bluebase"), flag.origin + '0 0 64', flag, wps_flagbase);
-       WaypointSprite_UpdateTeamRadar(flag.wps_flagbase, RADARICON_FLAG, colormapPaletteColor(((teamnumber) ? COLOR_TEAM1 : COLOR_TEAM2) - 1, FALSE));
+               GameLogEcho(strcat(":ctf:", mode, ":", ftos(flagteam), ((actor != world) ? (strcat(":", ftos(actor.playerid))) : "")));
 }