X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhook.qc;h=89dd4a6e384f2831ad2da11bd9ac12e44202ea2f;hp=536ab7c6ec0c3670ebe6d55bef639f0483cf11e1;hb=1a197c7f337b13e50e34000db134e7e00eb29738;hpb=9ee59809ded787f0b1d87440ada386b4a600adb1 diff --git a/qcsrc/client/hook.qc b/qcsrc/client/hook.qc index 536ab7c6ec..89dd4a6e38 100644 --- a/qcsrc/client/hook.qc +++ b/qcsrc/client/hook.qc @@ -169,6 +169,18 @@ void Draw_GrapplingHook() setorigin(self, a); // beam origin! break; } + + switch(self.HookType) + { + default: + case ENT_CLIENT_HOOK: + break; + case ENT_CLIENT_LGBEAM: + pointparticles(particleeffectnum("electro_lightning"), b, normalize(a - b) * 1000, frametime); + break; + case ENT_CLIENT_GAUNTLET: + break; + } } void Remove_GrapplingHook()