]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix bug that hook doesn't update directly after firing but stay stuck for a little...
authorRudolf Polzer <divverent@alientrap.org>
Sun, 26 Dec 2010 19:16:35 +0000 (20:16 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 26 Dec 2010 19:16:35 +0000 (20:16 +0100)
qcsrc/server/g_hook.qc

index ef379b9bc53bc0048d76bd335c4307c28f1b9735..dcc13c4df023899d27b09aad97ef0eab2c2b90e0 100644 (file)
@@ -370,7 +370,7 @@ void FireGrapplingHook (void)
        //missile.glow_size = 120;
        missile.touch = GrapplingHookTouch;
        missile.think = GrapplingHookThink;
-       missile.nextthink = time + 0.1;
+       missile.nextthink = time;
 
        missile.effects = /*EF_FULLBRIGHT | EF_ADDITIVE |*/ EF_LOWPRECISION;