fix sound origin
authorRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:48:59 +0000 (12:48 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 10:48:59 +0000 (12:48 +0200)
qcsrc/client/hook.qc

index 7165e7b..511ee86 100644 (file)
@@ -127,6 +127,9 @@ void Draw_GrapplingHook()
                Draw_GrapplingHook_trace_callback_rnd = random();
                WarpZone_TraceBox_ThroughZone(a, '0 0 0', '0 0 0', b, MOVE_NOMONSTERS, world, world, Draw_GrapplingHook_trace_callback);
                Draw_GrapplingHook_trace_callback_tex = string_null;
+
+               // helps the sound
+               setorigin(self, a);
        }
 
        if(time < self.LGBeamKillTime && !self.LGBeamSilent)