]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.c
changed most Sys_Error calls to Con_Printf with appropriate error returns
[xonotic/darkplaces.git] / snd_main.c
index a4717f43521314d5c7ace491a928db9b28c2a391..365ebf85cc0affeb4fbd6da0c254bec8a73180af 100644 (file)
@@ -303,7 +303,10 @@ void S_FreeSfx (sfx_t *sfx, qboolean force)
                                break;
                        }
                if (prev_sfx == NULL)
                                break;
                        }
                if (prev_sfx == NULL)
-                       Sys_Error ("S_FreeSfx: Can't find SFX %s in the list!\n", sfx->name);
+               {
+                       Con_Printf ("S_FreeSfx: Can't find SFX %s in the list!\n", sfx->name);
+                       return;
+               }
        }
 
        // Free it
        }
 
        // Free it