why does fteqcc fail so much? seems like f *= x now is equivalent to f = x
authorFruitieX <fruitiex@gmail.com>
Wed, 3 Nov 2010 18:51:03 +0000 (20:51 +0200)
committerFruitieX <fruitiex@gmail.com>
Wed, 3 Nov 2010 18:51:03 +0000 (20:51 +0200)
qcsrc/server/w_nex.qc

index 29b8be7..6879061 100644 (file)
@@ -50,8 +50,8 @@ void W_Nex_Attack (float issecondary)
        }
        else
                charge = 1;
-       mydmg *= charge;
-       myforce *= charge;
+       mydmg = mydmg * charge;
+       myforce = myforce * charge;
 
        W_SetupShot (self, TRUE, 5, "weapons/nexfire.wav", mydmg);