]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpvsimpledecode.c
Lots of minor fixes and improvements to the sound engine, plus a few more important...
[xonotic/darkplaces.git] / dpvsimpledecode.c
index 9927a7606e06eab2a1c75c2a709d7f309bc5d613..f403401b27ffadbb621d1bc29ab8c10edf7e4bd0 100644 (file)
@@ -398,7 +398,7 @@ void *dpvsimpledecode_open(char *filename, char **errorstring)
 
                                                                        StripExtension(filename, wavename);
                                                                        strcat(wavename, ".wav");
-                                                                       sfx = S_PrecacheSound (wavename, false, false);
+                                                                       sfx = S_PrecacheSound (wavename, false, false, false);
                                                                        if (sfx != NULL)
                                                                                s->sndchan = S_StartSound (-1, 0, sfx, vec3_origin, 1.0f, 0);
                                                                        else