]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
okay nevermind that effects reverse thing
authorFruitieX <rasse@rasse-lappy.localdomain>
Wed, 28 Jul 2010 21:04:43 +0000 (00:04 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Wed, 28 Jul 2010 21:04:43 +0000 (00:04 +0300)
qcsrc/server/w_nex.qc

index 389341f2382185e73b5d5c9a32b9735aa919e15c..3a85e113adc6a9ccbe7bd33469122e155664078f 100644 (file)
@@ -46,10 +46,7 @@ void W_Nex_Attack (float issecondary)
        W_SetupShot (self, TRUE, 5, "weapons/nexfire.wav", mydmg);
 
        yoda = 0;
-       if(issecondary) // reverse effects
-               FireRailgunBullet (w_shotorg + w_shotdir * MAX_SHOT_DISTANCE, w_shotorg, mydmg, myforce, mymindist, mymaxdist, myhalflife, myforcehalflife, WEP_NEX);
-       else
-               FireRailgunBullet (w_shotorg, w_shotorg + w_shotdir * MAX_SHOT_DISTANCE, mydmg, myforce, mymindist, mymaxdist, myhalflife, myforcehalflife, WEP_NEX);
+       FireRailgunBullet (w_shotorg, w_shotorg + w_shotdir * MAX_SHOT_DISTANCE, mydmg, myforce, mymindist, mymaxdist, myhalflife, myforcehalflife, WEP_NEX);
 
        if(yoda && flying)
                AnnounceTo(self, "yoda");