aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/actor.cpp')
-rw-r--r--saga/actor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index aeb977f525..85fae3c426 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -569,7 +569,9 @@ void Actor::updateActorsScene(int actorsEntrance) {
error("Actor::updateActorsScene _vm->_scene->currentSceneNumber() == 0");
}
+ _vm->_sound->stopVoice();
_activeSpeech.stringsCount = 0;
+ _activeSpeech.playing = false;
_protagonist = NULL;
for (i = 0; i < _actorsCount; i++) {
@@ -1711,7 +1713,7 @@ bool Actor::actorWalkTo(uint16 actorId, const Location &toLocation) {
return true;
}
-void Actor::actorSpeech(uint16 actorId, const char **strings, int stringsCount, uint16 sampleResourceId, int speechFlags) {
+void Actor::actorSpeech(uint16 actorId, const char **strings, int stringsCount, int sampleResourceId, int speechFlags) {
ActorData *actor;
int i;