]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove some unref stuff
authorRudolf Polzer <divverent@alientrap.org>
Wed, 27 Oct 2010 19:10:51 +0000 (21:10 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 27 Oct 2010 19:10:51 +0000 (21:10 +0200)
qcsrc/server/autocvars.qh
qcsrc/server/cl_physics.qc
qcsrc/server/defs.qh
qcsrc/server/g_damage.qc
qcsrc/server/g_tetris.qc
qcsrc/server/miscfunctions.qc
qcsrc/server/mutators/mutator_rocketflying.qc
qcsrc/server/progs.src
qcsrc/warpzonelib/common.qc

index 66b58df8c356f6f57900ccd9d510bc8dce07c5f4..36334b27127b218ece882fbbc6ea47da559fdad9 100644 (file)
@@ -1,4 +1,3 @@
 float autocvar_sv_cheats;
 float autocvar_g_bastet;
 var float autocvar_g_movement_highspeed = 1;
-var float autocvar_sys_ticrate;
index b005dd5f3f20c575914e76107a7891ffd4198d07..b587c166e5f52380e026147e9234e343128a146f 100644 (file)
@@ -37,8 +37,6 @@ float sv_airspeedlimit_nonqw;
 .float multijump_ready;
 .float prevjumpbutton;
 
-.float nexspeed;
-
 /*
 =============
 PlayerJump
index f327ac30dbce30b881cefb56f151bdf27add3d51..5be04141dfce6b62dfc424369323fb7803bd8448 100644 (file)
@@ -227,7 +227,6 @@ float WS_READY                      = 4; // idle frame
 void weapon_defaultspawnfunc(float wpn);
 
 string w_deathtypestring;
-float w_deathtype;
 
 void(entity client, string s) centerprint_builtin = #73;
 .vector dest1, dest2;
@@ -297,7 +296,6 @@ string getTimeoutText(float addOneSecond);
 .entity flagcarried;
 
 .entity lastrocket;
-.entity lastmine;
 
 .float playerid;
 float playerid_last;
index ab0638387e472b6eeaf43830a065a388fd78a733..6f8c9490ef907175c088a5c51315dcaef1ce8f38 100644 (file)
@@ -278,7 +278,7 @@ void Send_CSQC_Centerprint(entity e, string s1, string s2, float msg, float type
 void Obituary (entity attacker, entity inflictor, entity targ, float deathtype)
 {
        string  s, a, msg;
-       float p, w, type;
+       float w, type;
 
        if (targ.classname == "player" || targ.classname == "corpse")
        {
@@ -342,7 +342,6 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype)
                        }
                        else
                        {
-                               string blood_message, victim_message;
                                if (!checkrules_firstblood)
                                {
                                        checkrules_firstblood = TRUE;
index 64226b21b2a3e16d30807a80159fd62a1edab0e5..21208a2a197acaa25e38e55f8f4aaf81e227c7f4 100644 (file)
@@ -1242,4 +1242,8 @@ float TetrisPostFrame()
        return 1;
 };
 
+#else
+
+FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(autocvar_g_bastet);
+
 #endif
index fd3f384582500f469dd44c56f141a389b3ca53cb..f8f5ebe2304275b4b220e4d7d4c59f5824876b43 100644 (file)
@@ -584,7 +584,7 @@ void GetCvars_handleFloatOnce(string thisname, float f, .float field, string nam
 float w_getbestweapon(entity e);
 string W_FixWeaponOrder_ForceComplete_AndBuildImpulseList(string wo)
 {
-       string o, s;
+       string o;
        o = W_FixWeaponOrder_ForceComplete(wo);
        if(self.weaponorder_byimpulse)
        {
index 4cd26a41daf42ef779933a5a8ba34f4349e82e6a..d1957b01f76aaa5fd074d8544fa252b198b37a2b 100644 (file)
@@ -22,8 +22,6 @@ MUTATOR_HOOKFUNCTION(rocketflying_BuildMutatorsPrettyString)
 
 MUTATOR_DEFINITION(mutator_rocketflying)
 {
-       entity e;
-
        MUTATOR_HOOK(EditProjectile, rocketflying_EditProjectile, CBC_ORDER_ANY);
        MUTATOR_HOOK(BuildMutatorsString, rocketflying_BuildMutatorsString, CBC_ORDER_ANY);
        MUTATOR_HOOK(BuildMutatorsPrettyString, rocketflying_BuildMutatorsPrettyString, CBC_ORDER_ANY);
index 6d744d7c35af501f59a31b98254126352e8099c3..bb68d30e3bda0582f47d757c8e2896cd5db7d7c6 100644 (file)
@@ -84,7 +84,6 @@ teamplay.qc
 cl_physics.qc
 
 // tZork's libs
-verbstack.qc
 movelib.qc
 steerlib.qc
 pathlib/pathlib.qh
index 1ce560907aab337be0cc7c9bc7bbb7997b0c9003..e76bc0eb96761c5efa52f02a07400b51fa28cdaa 100644 (file)
@@ -1,5 +1,5 @@
 float trace_dphitcontents;
-.float dphitcontents;
+.float dphitcontentsmask;
 
 void WarpZone_Accumulator_Clear(entity acc)
 {