fix playing sounds with sound_dir
This commit is contained in:
parent
8e4d9c1f61
commit
c6d955ade7
@ -2297,7 +2297,7 @@ sound_play (const char *file, gboolean quiet)
|
|||||||
/* check for fullpath */
|
/* check for fullpath */
|
||||||
if (file[0] == '\\' || (((file[0] >= 'A' && file[0] <= 'Z') || (file[0] >= 'a' && file[0] <= 'z')) && file[1] == ':'))
|
if (file[0] == '\\' || (((file[0] >= 'A' && file[0] <= 'Z') || (file[0] >= 'a' && file[0] <= 'z')) && file[1] == ':'))
|
||||||
#else
|
#else
|
||||||
if (file[0] != '/')
|
if (file[0] == '/')
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
wavfile = g_strdup (file);
|
wavfile = g_strdup (file);
|
||||||
|
Loading…
Reference in New Issue
Block a user