]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Actually, make ground impact particle amount depend on player size too
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 14:40:52 +0000 (16:40 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 14:40:52 +0000 (16:40 +0200)
data/qcsrc/server/cl_physics.qc

index 505fde7a54afe8fea3c21f33fc3f267bd3c17549..3dd65f7c8f0e958138e5a145e4cdacf0075395e1 100644 (file)
@@ -871,12 +871,12 @@ void SV_PlayerPhysics()
                                        if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_METALSTEPS)\r
                                        {\r
                                                GlobalSound(globalsound_metalfall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1));\r
-                                               pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', 1);\r
+                                               pointparticles(particleeffectnum("ground_metal"), self.origin, '0 0 0', self.scale);\r
                                        }\r
                                        else\r
                                        {\r
                                                GlobalSound(globalsound_fall, CHAN_PLAYER, VOICETYPE_PLAYERSOUND, bound(0, VOL_BASE * (1 - playersize_micro(self)), 1));\r
-                                               pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', 1);\r
+                                               pointparticles(particleeffectnum("ground_dirt"), self.origin, '0 0 0', self.scale);\r
                                        }\r
                                        sound(self, CHAN_AUTO, "misc/macro_hitground.wav", bound(0, VOL_BASE * playersize_macro(self), 1), ATTN_NORM);\r
                                }\r