X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fdamage.qc;h=13c8e462e3d5d800cdafe161cca952e81bb246d2;hb=406b13f464e47f8ca373b6bbe8ebe3bfc0f6be44;hp=1b0138f36b0212f950ebf241c5de37892ae91bba;hpb=f54d799f3e6e3f31b7d685453156bb7f0e448ce1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index 1b0138f36..13c8e462e 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -1,8 +1,3 @@ -.float silent; - -float w_deathtype, w_issilent, w_random; -vector w_org, w_backoff; - void Ent_DamageInfo(float isNew) { float dmg, rad, edge, thisdmg, forcemul; @@ -59,15 +54,11 @@ void Ent_DamageInfo(float isNew) thisforce = forcemul * force; } - //print("check ", ftos(num_for_edict(self)), " ", self.classname, "\n"); - //print(ftos(self.damageforcescale), "\n"); - //print(vtos(thisforce), "\n"); if(self.damageforcescale) if(vlen(thisforce)) { self.move_velocity = self.move_velocity + self.damageforcescale * thisforce; self.move_flags &~= FL_ONGROUND; - //print("pushed ", ftos(num_for_edict(self)), " loose\n"); } if(w_issilent)