]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/gibs.qc
fix lots of more uninitialized stuff
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / gibs.qc
index 22825bc4f38d4912b70c51922098c20213308581..5f6599f183da88394acab16ff586b69a793bef75 100644 (file)
@@ -156,7 +156,7 @@ void Ent_GibSplash(float isNew)
        vector org, vel;
        string specstr;
        float issilent;
-       string gentle_prefix;
+       string gentle_prefix = "morphed_";
 
        float c, randomvalue;
 
@@ -177,8 +177,6 @@ void Ent_GibSplash(float isNew)
                        gentle_prefix = "";
                else if(cl_gentle_gibs == 3) 
                        gentle_prefix = "happy_";
-               else
-                       gentle_prefix = "morphed_";
        }
        else if(autocvar_cl_particlegibs)
        {