sdl_path removed in some places
This commit is contained in:
parent
708e1afecd
commit
c394a40ccb
|
@ -1038,7 +1038,7 @@ void game_music_player(void)
|
||||||
instead_eval("return get_music()");
|
instead_eval("return get_music()");
|
||||||
mus = instead_retval(0);
|
mus = instead_retval(0);
|
||||||
loop = instead_iretval(1);
|
loop = instead_iretval(1);
|
||||||
mus = sdl_path(mus);
|
unix_path(mus);
|
||||||
instead_clear();
|
instead_clear();
|
||||||
|
|
||||||
if (mus && loop == -1) { /* disabled, 0 - forever, 1-n - loops */
|
if (mus && loop == -1) { /* disabled, 0 - forever, 1-n - loops */
|
||||||
|
@ -1138,7 +1138,7 @@ void game_sound_player(void)
|
||||||
}
|
}
|
||||||
instead_eval("set_sound(nil, -1)"); instead_clear();
|
instead_eval("set_sound(nil, -1)"); instead_clear();
|
||||||
|
|
||||||
snd = sdl_path(snd);
|
unix_path(snd);
|
||||||
w = sound_find(snd);
|
w = sound_find(snd);
|
||||||
if (!w)
|
if (!w)
|
||||||
w = sound_add(snd);
|
w = sound_add(snd);
|
||||||
|
@ -1261,7 +1261,7 @@ int game_cmd(char *cmd)
|
||||||
pict = instead_retval(0);
|
pict = instead_retval(0);
|
||||||
instead_clear();
|
instead_clear();
|
||||||
|
|
||||||
pict = sdl_path(pict);
|
unix_path(pict);
|
||||||
|
|
||||||
new_pict = check_new_pict(pict);
|
new_pict = check_new_pict(pict);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue