[Scummvm-git-logs] scummvm master -> d348b5cb2fa16c68c659b319b2173de6f96670cf
dreammaster
dreammaster at scummvm.org
Fri Mar 16 02:29:15 CET 2018
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:
d348b5cb2f XEEN: Correct Training welcome voice sample playback
Commit: d348b5cb2fa16c68c659b319b2173de6f96670cf
https://github.com/scummvm/scummvm/commit/d348b5cb2fa16c68c659b319b2173de6f96670cf
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-15T21:29:10-04:00
Commit Message:
XEEN: Correct Training welcome voice sample playback
Changed paths:
engines/xeen/locations.cpp
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp
index 0376cdb..2690bf1 100644
--- a/engines/xeen/locations.cpp
+++ b/engines/xeen/locations.cpp
@@ -83,7 +83,7 @@ int BaseLocation::show() {
drawAnim(true);
// Play the welcome speech
- sound.playVoice(_vocName, 1);
+ sound.playVoice(_vocName);
do {
wait();
@@ -988,7 +988,7 @@ TrainingLocation::TrainingLocation() : BaseLocation(TRAINING) {
addButton(Common::Rect(281, 108, 305, 128), Common::KEYCODE_ESCAPE, &_icons1);
addButton(Common::Rect(242, 108, 266, 128), Common::KEYCODE_t, &_icons1);
- _vocName = _isDarkCc ? "training.voc" : "youtrn1.voc";
+ _vocName = _isDarkCc ? "youtrn1.voc" : "training.voc";
}
Common::String TrainingLocation::createLocationText(Character &ch) {
More information about the Scummvm-git-logs
mailing list