From def6b4fc3e38392c8345af9945cb3a1d208a7726 Mon Sep 17 00:00:00 2001 From: uruk Date: Tue, 22 Jul 2014 18:54:48 +0200 Subject: CGE2: Add and use Sound::checkSoundHandle(). --- engines/cge2/snail.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines/cge2/snail.cpp') diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index 8cb8d19b24..9dce4dbbc8 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -742,10 +742,7 @@ void CGE2Engine::snSay(Sprite *spr, int val) { _sound->setRepeat(1); snSound(spr, i); _sound->setRepeat(oldRepeat); - //_commandStat._wait = &_sound->_smpinf._counter; - // This line is commented out for now since I wasn't able to find where this flag is reset - // and it's prevented the main loop from doing anything. - // TODO: Recheck this later! At the moment it seems working fine. + _soundStat._wait = &_sound->_smpinf._counter; } } } -- cgit v1.2.3