From: Rudolf Polzer Date: Sun, 26 Dec 2010 19:16:35 +0000 (+0100) Subject: fix bug that hook doesn't update directly after firing but stay stuck for a little... X-Git-Tag: xonotic-v0.5.0~330^2~14^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a2d895b2bc2a8e608fb1e222c2cbe8b31ac64fe;p=xonotic%2Fxonotic-data.pk3dir.git fix bug that hook doesn't update directly after firing but stay stuck for a little while --- diff --git a/qcsrc/server/g_hook.qc b/qcsrc/server/g_hook.qc index ef379b9bc..dcc13c4df 100644 --- a/qcsrc/server/g_hook.qc +++ b/qcsrc/server/g_hook.qc @@ -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;