From b495d75461190662adca880d0ed185478ca17ad3 Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Mon, 1 Nov 2010 17:20:50 +0000 Subject: [PATCH] bugfix in player --- src/sdl-instead/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl-instead/game.c b/src/sdl-instead/game.c index 9c01d91..a2ccf6b 100644 --- a/src/sdl-instead/game.c +++ b/src/sdl-instead/game.c @@ -1276,7 +1276,7 @@ void game_music_player(void) char *mus; if (!snd_volume_mus(-1)) return; - if (!opt_music) + if (!opt_music || !curgame_dir) return; instead_function("instead.get_music", NULL); mus = instead_retval(0);