From: FruitieX Date: Sun, 18 Jul 2010 21:27:45 +0000 (+0300) Subject: fix the sticky nade projectiles from falling by setting gravity to 0... probably... X-Git-Tag: xonotic-v0.1.0preview~423^2~46 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=147aaceaa80ed5bac4fdae7c13e870dabdeff4a4;p=xonotic%2Fxonotic-data.pk3dir.git fix the sticky nade projectiles from falling by setting gravity to 0... probably a bug in CSQC code, since MOVETYPE_NONE should already disable gravity? --- diff --git a/qcsrc/server/w_grenadelauncher.qc b/qcsrc/server/w_grenadelauncher.qc index d5a4c747d..551acf359 100644 --- a/qcsrc/server/w_grenadelauncher.qc +++ b/qcsrc/server/w_grenadelauncher.qc @@ -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