]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove some warnings
authorRudolf Polzer <divverent@xonotic.org>
Sun, 9 Oct 2011 14:34:56 +0000 (16:34 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 9 Oct 2011 14:34:56 +0000 (16:34 +0200)
qcsrc/server/bot/havocbot/role_assault.qc
qcsrc/server/playerstats.qc
qcsrc/server/t_jumppads.qc

index 5c0be477cc45ed81c1fd228060093f64af0537a0..6f0f3e2c037f304f774bde6fb2c07eba834aacf7 100644 (file)
@@ -19,8 +19,8 @@ void(float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplay
 
 void havocbot_goalrating_ast_targets(float ratingscale)
 {
-       entity ad, best, pl, wp, tod;
-       float radius, found, bestvalue, c;
+       entity ad, best, wp, tod;
+       float radius, found, bestvalue;
        vector p;
 
        ad = findchain(classname, "func_assault_destructible");
@@ -190,9 +190,6 @@ void havocbot_role_ast_setrole(entity bot, float role)
 
 void havocbot_ast_reset_role(entity bot)
 {
-       local entity head;
-       local float c;
-
        if(self.deadflag != DEAD_NO)
                return;
 
index c6e7701e0c0bfa6e4c3543e1eca7bcbafdc0ef2f..c611e819561e677c31b2d57250ccbcb8b8fbca6d 100644 (file)
@@ -3,7 +3,6 @@ string teamstats_last;
 string playerstats_last;
 string events_last;
 .float playerstats_addedglobalinfo;
-float playerstats_requested;
 .string playerstats_id;
 
 void PlayerStats_Init()
index 64dc74b9840b52524495488dd4a31685878ad7d3..07ed967fe3e700055cc2fb02afd10014d30c61b2 100644 (file)
@@ -127,8 +127,6 @@ vector trigger_push_calculatevelocity(vector org, entity tgt, float ht)
 
 void trigger_push_touch()
 {
-       vector move;
-
        if (self.active == ACTIVE_NOT)
                return;
 
@@ -256,7 +254,6 @@ void trigger_push_findtarget()
 {
        local entity e, t;
        local vector org;
-       local float flighttime;
 
        // first calculate a typical start point for the jump
        org = (self.absmin + self.absmax) * 0.5;