[Scummvm-git-logs] scummvm master -> 623aa5aca01ec792b520bd8b9652d92e76983075

bluegr noreply at scummvm.org
Mon Jun 13 09:43:48 UTC 2022


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:
623aa5aca0 CHEWY: Animate Chewy when performing an action when subs are disabled


Commit: 623aa5aca01ec792b520bd8b9652d92e76983075
    https://github.com/scummvm/scummvm/commit/623aa5aca01ec792b520bd8b9652d92e76983075
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-06-13T12:43:23+03:00

Commit Message:
CHEWY: Animate Chewy when performing an action when subs are disabled

Changed paths:
    engines/chewy/sprite.cpp


diff --git a/engines/chewy/sprite.cpp b/engines/chewy/sprite.cpp
index 47e84a514da..309175fb609 100644
--- a/engines/chewy/sprite.cpp
+++ b/engines/chewy/sprite.cpp
@@ -505,7 +505,7 @@ bool startAtsWait(int16 txtNr, int16 txtMode, int16 col, int16 mode) {
 
 				g_engine->_sound->setSoundChannelBalance(0, _G(atds)->getStereoPos(vocx));
 				if (vocNr >= 0) {
-					g_engine->_sound->playSpeech(vocNr, false);
+					g_engine->_sound->playSpeech(vocNr, !g_engine->_sound->subtitlesEnabled());
 				}
 
 				setupScreen(DO_SETUP);




More information about the Scummvm-git-logs mailing list