]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Get rid of unrefs. again..
authorJakob MG <jakob_mg@hotmail.com>
Wed, 12 Sep 2012 19:27:01 +0000 (21:27 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Wed, 12 Sep 2012 19:27:01 +0000 (21:27 +0200)
qcsrc/server/autocvars.qh
qcsrc/server/g_damage.qc
qcsrc/server/teamplay.qc
qcsrc/warpzonelib/common.qc

index a3687f9592ff828fcbea2e81519c7b0a223bbe81..cfd29b2038c06fb670835eb892613d67da2fbbb6 100644 (file)
@@ -796,14 +796,14 @@ float autocvar_g_ctf_flagcarrier_selfforcefactor;
 float autocvar_g_ctf_flagcarrier_damagefactor;
 float autocvar_g_ctf_flagcarrier_forcefactor;
 float autocvar_g_ctf_flagcarrier_waypointforenemy_stalemate;
-float autocvar_g_ctf_flagcarrier_waypointforenemy_spotting;
+//float autocvar_g_ctf_flagcarrier_waypointforenemy_spotting;
 float autocvar_g_ctf_fullbrightflags;
 float autocvar_g_ctf_ignore_frags;
 float autocvar_g_ctf_score_capture;
 float autocvar_g_ctf_score_capture_assist;
 float autocvar_g_ctf_score_kill;
 float autocvar_g_ctf_score_penalty_drop;
-float autocvar_g_ctf_score_penalty_suicidedrop;
+//float autocvar_g_ctf_score_penalty_suicidedrop;
 float autocvar_g_ctf_score_penalty_returned;
 float autocvar_g_ctf_score_pickup_base;
 float autocvar_g_ctf_score_pickup_dropped_early;
index 046e0f5137981e426082c31a524140697f4c72cb..f4fe7615f424241c2ec09a3074a3bf7352f06d32 100644 (file)
@@ -640,7 +640,7 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, float
                                                                attacker.dmg_take += v_x;
                                                                attacker.dmg_save += v_y;
                                                                attacker.dmg_inflictor = inflictor;
-                                                               mirrordamage = 0;
+                                                               mirrordamage = v_z; // = 0, to make fteqcc stfu
                                                                mirrorforce = 0;
                                                        }
 
index 917aa11bcc3c586a97cea50d3d9bc3c02cf1fb78..b8f2f3ac8746ea4e02daae0936833d2086954699 100644 (file)
@@ -6,7 +6,7 @@ float c1, c2, c3, c4;
 // # of bots on those teams
 float cb1, cb2, cb3, cb4;
 
-float audit_teams_time;
+//float audit_teams_time;
 
 void TeamchangeFrags(entity e)
 {
@@ -834,7 +834,7 @@ float JoinBestTeam(entity pl, float only_return_best, float forcebestteam)
 //void() ctf_playerchanged;
 void SV_ChangeTeam(float _color)
 {
-       float scolor, dcolor, steam, dteam, dbotcount, scount, dcount;
+       float scolor, dcolor, steam, dteam; //, dbotcount, scount, dcount;
 
        // in normal deathmatch we can just apply the color and we're done
        if(!teamplay) {
index f87d540e5549d47446d2d525a4d8ce87df2bdec0..9040c72407a8914972d2e4533b2852a767753702 100644 (file)
@@ -699,7 +699,7 @@ void WarpZone_RefSys_AddInverse(entity me, entity wz)
 .vector WarpZone_refsys_incremental_transform;
 void WarpZone_RefSys_AddIncrementally(entity me, entity ref)
 {
-       vector t, s;
+       //vector t, s;
        if(me.WarpZone_refsys_incremental_transform == ref.WarpZone_refsys.warpzone_transform)
        if(me.WarpZone_refsys_incremental_shift == ref.WarpZone_refsys.warpzone_shift)
                return;