From a2805673eaf0488aca7e58cd17066afc1c2080be Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Dec 2014 22:31:07 +1100 Subject: [PATCH] Allow laser jumps right after spawning --- qcsrc/server/g_damage.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/g_damage.qc b/qcsrc/server/g_damage.qc index 88138612b..7c4b01c2d 100644 --- a/qcsrc/server/g_damage.qc +++ b/qcsrc/server/g_damage.qc @@ -910,7 +910,7 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, float // apply push if (self.damageforcescale) if (vlen(force)) - if (!IS_PLAYER(self) || time >= self.spawnshieldtime) + if (!IS_PLAYER(self) || time >= self.spawnshieldtime || self == attacker) { vector farce = damage_explosion_calcpush(self.damageforcescale * force, self.velocity, autocvar_g_balance_damagepush_speedfactor); if(self.movetype == MOVETYPE_PHYSICS) -- 2.39.2