From 9d041cc0598212bb2ef95584f0213aa4d286e2a6 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 28 May 2007 11:22:53 +0000 Subject: Add sound effects code for Amiga and AtariST versions of Elvira 2. svn-id: r26989 --- engines/agos/script_e2.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/agos/script_e2.cpp') diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp index 2ffb60731f..6f6df06eb8 100644 --- a/engines/agos/script_e2.cpp +++ b/engines/agos/script_e2.cpp @@ -599,9 +599,11 @@ void AGOSEngine_Elvira2::oe2_ifExitLocked() { } void AGOSEngine_Elvira2::oe2_playEffect() { - // 174: - uint a = getVarOrWord(); - debug(0, "oe2_playEffect: stub (%d)", a); + // 174: play sound + uint soundId = getVarOrWord(); + loadSound(soundId); + + debug(0, "oe2_playEffect: stub (%d)", soundId); } void AGOSEngine_Elvira2::oe2_getDollar2() { -- cgit v1.2.3