This commit is contained in:
p.kosyh 2009-11-01 11:05:36 +00:00
parent 0c5c2bd2fd
commit 1152009b34

View file

@ -2002,9 +2002,6 @@ function get_music()
end
function get_music_loop()
if game._music_loop == nil then
return -1; -- no counter, but we want get it
end
return game._music_loop;
end
@ -2041,6 +2038,10 @@ function stop_music()
set_music(nil, -1);
end
function is_music()
return game._music ~= nil and game._music_loop ~= -1
end
function get_sound()
return game._sound;
end