fix the sticky nade projectiles from falling by setting gravity to 0... probably...
authorFruitieX <rasse@rasse-lappy.localdomain>
Sun, 18 Jul 2010 21:27:45 +0000 (00:27 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Sun, 18 Jul 2010 21:27:45 +0000 (00:27 +0300)
qcsrc/server/w_grenadelauncher.qc

index d5a4c74..551acf3 100644 (file)
@@ -54,6 +54,7 @@ void W_Grenade_Touch1 (void)
                // let it stick whereever it is
                self.velocity = '0 0 0';
                self.movetype = MOVETYPE_NONE; // also disables gravity
+               self.gravity = 0; // nope, it does NOT! maybe a bug in CSQC code? TODO
                UpdateCSQCProjectile(self);
 
                // do not respond to any more touches