mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
- some fixes for previous commit (incrementation of sampleResourceId)
- previous commit also introduce sound speech of first scene in ITE DOS version svn-id: r16240
This commit is contained in:
parent
839fc0df83
commit
412df729a2
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user