From 25ed953c58bc2410909da14e5491e127f7a2c61c Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 1 Jul 2011 05:42:57 +0000 Subject: [PATCH] effectinfo velocitymultiplier defaults to 0 again git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11230 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=ed8d0725afa9ebc075da0df1306e1cc41bb56c2d --- cl_particles.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index 4f97c3d1..6c28e575 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -251,7 +251,7 @@ particleeffectinfo_t baselineparticleeffectinfo = {0.0f, 0.0f, 0.0f}, //float velocityoffset[3]; {0.0f, 0.0f, 0.0f}, //float originjitter[3]; {0.0f, 0.0f, 0.0f}, //float velocityjitter[3]; - 1.0f, //float velocitymultiplier; + 0.0f, //float velocitymultiplier; // an effect can also spawn a dlight 0.0f, //float lightradiusstart; 0.0f, //float lightradiusfade; @@ -367,9 +367,6 @@ 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