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 29b8be7ef0e6efd823fb934de4afd5eac1f959fe..68790617dffab9b2df702495c2c7f9e2a3308801 100644 (file)
@@ -50,8 +50,8 @@ void W_Nex_Attack (float issecondary)
        }
        else
                charge = 1;
        }
        else
                charge = 1;
-       mydmg *= charge;
-       myforce *= charge;
+       mydmg = mydmg * charge;
+       myforce = myforce * charge;
 
        W_SetupShot (self, TRUE, 5, "weapons/nexfire.wav", mydmg);
 
 
        W_SetupShot (self, TRUE, 5, "weapons/nexfire.wav", mydmg);