Remove sound_dir, it's pointless

This commit is contained in:
Berke Viktor
2013-04-14 10:47:37 +02:00
parent 059e4ec9c8
commit db582a4e5c
4 changed files with 1 additions and 15 deletions

View File

@@ -2243,7 +2243,7 @@ sound_play (const char *file, gboolean quiet)
}
else
{
wavfile = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "%s", prefs.hex_sound_dir, file);
wavfile = g_build_filename (get_xdir (), "sounds", file, NULL);
}
if (g_access (wavfile, R_OK) == 0)