diff options
author | Andrew Kurushin | 2004-12-21 10:30:49 +0000 |
---|---|---|
committer | Andrew Kurushin | 2004-12-21 10:30:49 +0000 |
commit | 412df729a2dfe0dd9f45bf024f87b91af5039dd3 (patch) | |
tree | dd7ab1172c281a269e8d8c5c8f0462b75a852541 /saga/actor.cpp | |
parent | 839fc0df8398a719e46e572252021b6f16cdd93e (diff) | |
download | scummvm-rg350-412df729a2dfe0dd9f45bf024f87b91af5039dd3.tar.gz scummvm-rg350-412df729a2dfe0dd9f45bf024f87b91af5039dd3.tar.bz2 scummvm-rg350-412df729a2dfe0dd9f45bf024f87b91af5039dd3.zip |
- some fixes for previous commit (incrementation of sampleResourceId)
- previous commit also introduce sound speech of first scene in ITE DOS version
svn-id: r16240
Diffstat (limited to 'saga/actor.cpp')
-rw-r--r-- | saga/actor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp index 100abe4de2..6eb59a13eb 100644 --- a/saga/actor.cpp +++ b/saga/actor.cpp @@ -243,8 +243,10 @@ void Actor::handleSpeech(int msec) { } } - if (_activeSpeech.sampleResourceId != -1) + if (_activeSpeech.sampleResourceId != -1) { _vm->_sndRes->playVoice(_activeSpeech.sampleResourceId); + _activeSpeech.sampleResourceId++; + } if (_activeSpeech.actorIds[0] != 0) { actor = getActor(_activeSpeech.actorIds[0]); |