fix playing sounds with sound_dir

This commit is contained in:
TingPing 2012-12-08 05:18:16 -05:00
parent 8e4d9c1f61
commit c6d955ade7
1 changed files with 1 additions and 1 deletions

View File

@ -2297,7 +2297,7 @@ sound_play (const char *file, gboolean quiet)
/* check for fullpath */
if (file[0] == '\\' || (((file[0] >= 'A' && file[0] <= 'Z') || (file[0] >= 'a' && file[0] <= 'z')) && file[1] == ':'))
#else
if (file[0] != '/')
if (file[0] == '/')
#endif
{
wavfile = g_strdup (file);