From: David Griffith Date: Fri, 20 Dec 2013 08:32:39 +0000 (-0800) Subject: Pass a resource number to os_start_sample() and friends. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=de921e5656de638b31099dff0e85bb9ce20c819a;p=liskon_frotz.git Pass a resource number to os_start_sample() and friends. Needed to support sound mixing. --- diff --git a/src/common/sound.c b/src/common/sound.c index 37c98e9..ea0e357 100644 --- a/src/common/sound.c +++ b/src/common/sound.c @@ -189,10 +189,10 @@ void z_sound_effect (void) start_sample (number, lo (volume), hi (volume), (zargc == 4) ? zargs[3] : 0); break; case EFFECT_STOP: - os_stop_sample (); + os_stop_sample (number); break; case EFFECT_FINISH_WITH: - os_finish_with_sample (); + os_finish_with_sample (number); break; }