]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 7165e7b3661f3d926e8e97f6c2233e0edc662bd7..511ee86fb9ac2b0dc512c2a977b65ca8d43eea56 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)