From: Samual Lenks Date: Tue, 31 Jul 2012 00:19:08 +0000 (-0400) Subject: Fix minor bug X-Git-Tag: xonotic-v0.8.0~152^2~408^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=35c9124ea005d46afad74ae08c8752b3aa6bcb59;p=xonotic%2Fxonotic-data.pk3dir.git Fix minor bug --- diff --git a/qcsrc/server/w_laser.qc b/qcsrc/server/w_laser.qc index c5a4bafac..d1a8b947f 100644 --- a/qcsrc/server/w_laser.qc +++ b/qcsrc/server/w_laser.qc @@ -111,6 +111,8 @@ float W_Laser_Shockwave_CheckHit(float queue, entity head, vector final_force, f { if not(head) { return FALSE; } float i; + + ++queue; for(i = 1; i <= queue; ++i) { @@ -142,7 +144,7 @@ void W_Laser_Shockwave() vector final_force, center, vel; entity head, next; - float i, queue = 1; + float i, queue; // set up the shot direction W_SetupShot(self, FALSE, 3, "weapons/lasergun_fire.wav", CH_WEAPON_B, autocvar_g_balance_laser_shockwave_damage);