From a60096fc5858e0c4c08eb6422d8a47ebc194e098 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 1 Jul 2011 05:25:04 +0000 Subject: [PATCH] default effectinfo velocitymultiplier to 0 in nexuiz mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11228 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=caf3db73f974fb65d9718eb3cc122e6c6369336a --- cl_particles.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cl_particles.c b/cl_particles.c index 4ef3d667..ab4f8209 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -367,6 +367,9 @@ void CL_Particles_ParseEffectInfo(const char *textstart, const char *textend, co // copy entire info from baseline, then fix up the nameindex *info = baselineparticleeffectinfo; info->effectnameindex = effectnameindex; + // Nexuiz had some busted effects that didn't specify this... + if (gamemode == GAME_NEXUIZ) + info->velocitymultiplier = 0.0f; } else if (info == NULL) { -- 2.39.2