[Scummvm-git-logs] scummvm master -> 9f055d4ba12e809abab41ab1b7af1794eb75a1f6
dreammaster
dreammaster at scummvm.org
Tue Jun 20 03:53:43 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9f055d4ba1 TITANIC: Set SGT TV Magazine announcement to use speech sound type
Commit: 9f055d4ba12e809abab41ab1b7af1794eb75a1f6
https://github.com/scummvm/scummvm/commit/9f055d4ba12e809abab41ab1b7af1794eb75a1f6
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-19T21:53:34-04:00
Commit Message:
TITANIC: Set SGT TV Magazine announcement to use speech sound type
Changed paths:
engines/titanic/game/television.cpp
diff --git a/engines/titanic/game/television.cpp b/engines/titanic/game/television.cpp
index dbef811..ebcf15f 100644
--- a/engines/titanic/game/television.cpp
+++ b/engines/titanic/game/television.cpp
@@ -236,8 +236,11 @@ bool CTelevision::MovieEndMsg(CMovieEndMsg *msg) {
}
if (_channelNum == 3 && compareRoomNameTo("SGTState") && getPassengerClass() == THIRD_CLASS) {
- playSound("z#47.wav");
- _soundHandle = playSound("b#20.wav");
+ // You may be a winner
+ CProximity prox1, prox2;
+ prox1._soundType = prox2._soundType = Audio::Mixer::kSpeechSoundType;
+ playSound("z#47.wav", prox1);
+ _soundHandle = playSound("b#20.wav", prox2);
CMagazine *magazine = dynamic_cast<CMagazine *>(getRoot()->findByName("Magazine"));
if (magazine) {
More information about the Scummvm-git-logs
mailing list