aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/snail.cpp
diff options
context:
space:
mode:
authoruruk2014-07-22 18:54:48 +0200
committeruruk2014-07-22 18:54:48 +0200
commitdef6b4fc3e38392c8345af9945cb3a1d208a7726 (patch)
tree968ba7773e271195c0dbcf1b5e33f5bdd24c4309 /engines/cge2/snail.cpp
parent2f19de9ebe1d62d3bb6f93a121c68e52337a179f (diff)
downloadscummvm-rg350-def6b4fc3e38392c8345af9945cb3a1d208a7726.tar.gz
scummvm-rg350-def6b4fc3e38392c8345af9945cb3a1d208a7726.tar.bz2
scummvm-rg350-def6b4fc3e38392c8345af9945cb3a1d208a7726.zip
CGE2: Add and use Sound::checkSoundHandle().
Diffstat (limited to 'engines/cge2/snail.cpp')
-rw-r--r--engines/cge2/snail.cpp5
1 files changed, 1 insertions, 4 deletions
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;
}
}
}