]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove debug prints
authorSamual <samual@xonotic.org>
Sat, 1 Oct 2011 16:24:20 +0000 (12:24 -0400)
committerSamual <samual@xonotic.org>
Sat, 1 Oct 2011 16:24:20 +0000 (12:24 -0400)
qcsrc/client/hook.qc
qcsrc/server/g_hook.qc
qcsrc/server/w_common.qc
qcsrc/server/w_grenadelauncher.qc
qcsrc/server/w_hagar.qc
qcsrc/server/w_hook.qc
qcsrc/server/w_minelayer.qc
qcsrc/server/w_rocketlauncher.qc
qcsrc/server/w_seeker.qc

index e27dcaa67b671f434d71524c7852770793336ea2..4971fa3aa1705a126428729db0e2804ea6a65742 100644 (file)
@@ -216,7 +216,6 @@ void Draw_GrapplingHook()
 void Remove_GrapplingHook()
 {
        sound (self, CH_SHOTS_SINGLE, "misc/null.wav", VOL_BASE, ATTN_NORM);
-       print("hook was removed at ", vtos(self.origin), "\n");
 }
 
 void Ent_ReadHook(float bIsNew, float type)
index 13efb17b7f6b20dc3ff5d646e9ebe12fea62bbd7..5561c2df93ffa1bfea9b27361feab4f51c7507ca 100644 (file)
@@ -279,8 +279,6 @@ void GrapplingHook_Damage (entity inflictor, entity attacker, float damage, floa
                        
        self.health = self.health - damage;
                
-       print(strcat("hook health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-               
        if (self.health <= 0)
        {
                if(attacker != self.realowner)
index 87f743253c9ad5a9f11cd69399a594827d945b22..d0dd6eca6b3ae7bb19d2b3e62c009639b8c15d97 100644 (file)
@@ -547,7 +547,7 @@ float W_CheckProjectileDamage(entity inflictor, entity projowner, float deathtyp
        float is_from_owner = (inflictor == projowner);
        float is_from_exception = (exception != -1);
        
-       print(strcat("from_contents ", ftos(is_from_contents), " : from_owner ", ftos(is_from_owner), " : exception ", strcat(ftos(is_from_exception), " (", ftos(exception), "). \n")));
+       //print(strcat("from_contents ", ftos(is_from_contents), " : from_owner ", ftos(is_from_owner), " : exception ", strcat(ftos(is_from_exception), " (", ftos(exception), "). \n")));
 
        if(autocvar_g_projectiles_damage <= -2)
        {
index 67cee96132b7294b20574406ca943b8b0d3686ab..74e0f7a0ff349d87da8a12acf2d2eefd2496a84a 100644 (file)
@@ -55,8 +55,6 @@ void W_Grenade_Damage (entity inflictor, entity attacker, float damage, float de
                
        self.health = self.health - damage;
        
-       print(strcat("grenade health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-       
        if (self.health <= 0)
                W_PrepareExplosionByDamage(attacker, self.use);
 }
index dc2c11c9e595a83a211ebe38fd74929bf58f0c8b..bc50adbaf88552d271c3e817e90def15a5a06446 100644 (file)
@@ -29,16 +29,12 @@ void W_Hagar_Damage (entity inflictor, entity attacker, float damage, float deat
                && ((inflictor.projectiledeathtype & HITTYPE_SECONDARY) && (self.projectiledeathtype & HITTYPE_SECONDARY))
                && autocvar_g_balance_hagar_secondary_load_linkexplode);
                
-       print("is_linkexplode: ", ftos(is_linkexplode), ". \n");
-               
        if (!W_CheckProjectileDamage(inflictor.realowner, self.realowner, deathtype, is_linkexplode))
                return; // g_projectiles_damage says to halt
 
        self.health = self.health - damage;
        self.angles = vectoangles(self.velocity);
        
-       print(strcat("hagar rocket health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-       
        if (self.health <= 0)
                W_PrepareExplosionByDamage(attacker, self.think);
 }
index 5cbbebe11d4126da7fbea6eae4c1d459ab203adb..b6b90f6937070490c4de6c95d775b2a5f2d07096 100644 (file)
@@ -62,8 +62,6 @@ void W_Hook_Damage (entity inflictor, entity attacker, float damage, float death
        
        self.health = self.health - damage;
        
-       print(strcat("hookbomb health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-       
        if (self.health <= 0)
                W_PrepareExplosionByDamage(self.realowner, W_Hook_Explode2);
 }
index efb9f7dbe503cf316dc4247fd470744e143768dc..c4b271e255a094b53818f30d163f35bfc0545f08 100644 (file)
@@ -251,8 +251,6 @@ void W_Mine_Damage (entity inflictor, entity attacker, float damage, float death
        self.health = self.health - damage;
        self.angles = vectoangles(self.velocity);
        
-       print(strcat("mine health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-       
        if (self.health <= 0)
                W_PrepareExplosionByDamage(attacker, W_Mine_Explode);
 }
index 1070d82f4161ff35bb25b5a06a35667ded682d59..6ba7404058eb3e06d4acd8d51bc96b5d57a7f0e0 100644 (file)
@@ -245,8 +245,6 @@ void W_Rocket_Damage (entity inflictor, entity attacker, float damage, float dea
        self.health = self.health - damage;
        self.angles = vectoangles(self.velocity);
        
-       print(strcat("rocket health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-       
        if (self.health <= 0)
                W_PrepareExplosionByDamage(attacker, W_Rocket_Explode);
 }
index f369bc926907a8b881cebf6d410d596ea16bf9b0..ee5d593bbf5b26fb9b310f2e1fd96a18d782eadd 100644 (file)
@@ -133,8 +133,6 @@ void Seeker_Missile_Damage (entity inflictor, entity attacker, float damage, flo
        else
                self.health = self.health - damage;
                
-       print(strcat("seeker missile health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-               
        if (self.health <= 0)
                W_PrepareExplosionByDamage(attacker, Seeker_Missile_Explode);
 }