From: Samual Date: Fri, 1 Apr 2011 16:24:20 +0000 (-0400) Subject: Update eventlog command to be cleaner... wtf why was it so huge before. X-Git-Tag: xonotic-v0.7.0~240^2~176 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5471c636794469b6c27dfa1c0a9d9db966525ff5;p=xonotic%2Fxonotic-data.pk3dir.git Update eventlog command to be cleaner... wtf why was it so huge before. --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 5c465231c..1d49eeedc 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -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))) : ""))); }