X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsound.c;h=35c0a2465457b8f34e33423aa3a91213c7e0de3d;hb=e89a21e95b3cb84d1515c0fb3378ce902a48c1c8;hp=12b01c382b8f1c50cd62403b9ce65317fa9e8840;hpb=21859f94b784d557113a6470ed8fd7bceb48ba15;p=rocksndiamonds.git diff --git a/src/libgame/sound.c b/src/libgame/sound.c index 12b01c38..35c0a246 100644 --- a/src/libgame/sound.c +++ b/src/libgame/sound.c @@ -166,8 +166,8 @@ static boolean Mixer_ChannelExpired(int channel) if (expire_loop_sounds && IS_LOOP(mixer[channel]) && !IS_MUSIC(mixer[channel]) && - DelayReached(&mixer[channel].playing_starttime, - SOUND_LOOP_EXPIRATION_TIME)) + DelayReachedExt2(&mixer[channel].playing_starttime, + SOUND_LOOP_EXPIRATION_TIME, Counter())) return TRUE; if (!Mix_Playing(channel))