From: havoc Date: Fri, 1 Jul 2011 05:25:04 +0000 (+0000) Subject: default effectinfo velocitymultiplier to 0 in nexuiz mode X-Git-Tag: xonotic-v0.6.0~163^2~322 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=caf3db73f974fb65d9718eb3cc122e6c6369336a;p=xonotic%2Fdarkplaces.git default effectinfo velocitymultiplier to 0 in nexuiz mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11228 d7cf8633-e32d-0410-b094-e92efae38249 --- 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) {