]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
hushed unitialized warning on end in cl_particles.c when using MSVC
[xonotic/darkplaces.git] / cl_particles.c
index 3313af09cf7f0f697742d2a84a7d28a968be4736..6ef9c92456d95f3a573d6a86719052e3f122f101 100644 (file)
@@ -320,6 +320,7 @@ void CL_ParticleExplosion (vec3_t org, int smoke)
        vec3_t v, end, ang;
        byte noise1[32*32], noise2[32*32];
 
+       VectorClear(end); // hush MSVC
        if (cl_particles.integer && cl_particles_explosions.integer)
        {
                i = Mod_PointInLeaf(org, cl.worldmodel)->contents;