From ea0bc467979420bf8aa6c3c8c176bc4cb270485a Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 3 Mar 2012 16:40:52 +0200 Subject: [PATCH] Actually, make ground impact particle amount depend on player size too --- data/qcsrc/server/cl_physics.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/qcsrc/server/cl_physics.qc b/data/qcsrc/server/cl_physics.qc index 505fde7a..3dd65f7c 100644 --- a/data/qcsrc/server/cl_physics.qc +++ b/data/qcsrc/server/cl_physics.qc @@ -871,12 +871,12 @@ void SV_PlayerPhysics() if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_METALSTEPS) { GlobalSound(globalsound_metalfall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1)); - pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', 1); + pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', self.scale); } else { GlobalSound(globalsound_fall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1)); - pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', 1); + pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', self.scale); } sound(self, CHAN_AUTO, "misc/macro_hitground.wav", bound(0, VOL_BASE * playersize_macro(self), 1), ATTN_NORM); } -- 2.39.2